Kristi Castro has Published 98 Articles

How to make a jQuery function call after “X” seconds?

Kristi Castro

Kristi Castro

Updated on 20-Jun-2020 13:12:17

3K+ Views

To make a jQuery function call after “X” seconds, use the siteTimeout() method.On button click, set the following and fade out the element. Here, we have also set the milliseconds. This is the delay that would occur before fading an element:$("#button1").bind("click", function() {    setTimeout(function() {       $('#list').fadeOut();}, ... Read More

How to delete a row from a table using jQuery?

Kristi Castro

Kristi Castro

Updated on 20-Jun-2020 13:01:15

2K+ Views

Use event delegation to include buttons for both add a new and delete a table row on a web page using jQuery.Firstly, set the delete button:XTo fire event on click of a button, use jQuery on() method:$(document).on('click', 'button.deletebtn', function () {    $(this).closest('tr').remove();    return false; });The following is the ... Read More

Security, Integrity and Authorization in DBMS

Kristi Castro

Kristi Castro

Updated on 20-Jun-2020 09:53:55

14K+ Views

Database SecurityDatabase security has many different layers, but the key aspects are:AuthenticationUser authentication is to make sure that the person accessing the database is who he claims to be. Authentication can be done at the operating system level or even the database level itself. Many authentication systems such as retina ... Read More

Distributed Database Management System

Kristi Castro

Kristi Castro

Updated on 20-Jun-2020 09:47:11

2K+ Views

In a distributed database management system, the database is not stored at a single location. Rather, it may be stored in multiple computers at the same place or geographically spread far away. Despite all this, the distributed database appears as a single database to the user. A diagram to better ... Read More

How to insert new row into table at a certain index using jQuery?

Kristi Castro

Kristi Castro

Updated on 20-Jun-2020 08:09:28

1K+ Views

To insert a new row into table at a certain index, use the jQuery val() and insertBefore() method. You can try to run the following code to learn how to insert new row into table −ExampleLive Demo     jQuery Example       $(document).ready(function(){     ... Read More

How can I set the content of an iframe without src using jQuery?

Kristi Castro

Kristi Castro

Updated on 20-Jun-2020 08:08:20

1K+ Views

To set the content of an iframe without src, use the jQuery html() method. You can try to run the following code to learn how to set the content of an iframe without src attribute −ExampleLive Demo      jQuery Selector                 ... Read More

How to get the children of the $(this) selector in jQuery?

Kristi Castro

Kristi Castro

Updated on 20-Jun-2020 08:07:11

87 Views

To get the children of the $(this) selector, use the jQuery find() method. You can try to run the following code to get the children of the $(this) selector −ExampleLive Demo   jQuery Example       $(document).ready(function(){     $('#mydiv').click(function(){       alert($(this).find('img:last-child').attr('src'));    }); ... Read More

How to center a div on the screen using jQuery?

Kristi Castro

Kristi Castro

Updated on 20-Jun-2020 08:05:51

570 Views

To center a div on the screen, use the jQuery centering function jQuery.fn.center. You can try to run the following code to learn how to center a div on the screen:ExampleLive Demo               $(document).ready(function(){       jQuery.fn.center = function(parent) ... Read More

How to count number of columns in a table with jQuery

Kristi Castro

Kristi Castro

Updated on 20-Jun-2020 08:04:48

599 Views

To count number of columns in a table with jQuery, use the each() function with attr(). You can try to run the following code to learn how to count column in a table:EaxmpleLive Demo       jQuery Example             $(document).ready(function(){   ... Read More

How can I tell if table row is in view using jQuery?

Kristi Castro

Kristi Castro

Updated on 20-Jun-2020 08:03:51

869 Views

To check if table row exists or not, use the is() method, with the :visible selector −if($(".row").is(":visible")) {   alert("Visible!"); }You can try to run the following code to learn how to chck if a row exists or not. It even notifies when a new row is created −ExampleLive Demo ... Read More

Previous 1 ... 3 4 5 6 7 ... 10 Next
Advertisements