Kristi Castro has Published 92 Articles

Peer to Peer Computing

Kristi Castro

Kristi Castro

Updated on 21-Jun-2020 13:07:32

17K+ Views

The peer to peer computing architecture contains nodes that are equal participants in data sharing. All the tasks are equally divided between all the nodes. The nodes interact with each other as required as share resources.A diagram to better understand peer to peer computing is as follows −Characteristics of Peer ... Read More

Volatile Storage vs Non-Volatile Storage

Kristi Castro

Kristi Castro

Updated on 20-Jun-2020 16:43:19

3K+ Views

Volatile and Non-Volatile storage are the two forms of storage in any computer system.Volatile StorageThis is a type of computer memory that remains while there is power and the data is lost when power is switched off. A prime example of volatile memory is RAM. It is a type of ... Read More

How to check whether a string contains a substring in jQuery?

Kristi Castro

Kristi Castro

Updated on 20-Jun-2020 15:56:41

2K+ Views

The jQuery :contains() Selector is used to check whether a string contains a substring in jQuery.Set the substring you are searching for in the contains() method as shown below:$(document).ready(function(){    $("p:contains(Video)").css("background-color", "blue"); });Now, let us see the complete code to check whether a string contains a substring or not:Example Live Demo ... Read More

How to make a textarea and input type read only using jQuery?

Kristi Castro

Kristi Castro

Updated on 20-Jun-2020 15:45:47

3K+ Views

To make a textarea and input type read only, use the attr() method .For readonly, set the input type text and textarea as read only as shown below:$('input[type="text"], textarea').each(function(){    $(this).attr('readonly', 'readonly'); });The following is the code to set readonly to textarea and input type:Example Live Demo jQuery Example   ... Read More

How to disable/ enable checkbox with jQuery?

Kristi Castro

Kristi Castro

Updated on 20-Jun-2020 15:45:00

6K+ Views

fTo disable and enable checkbox, use the attr() method.Initially set the input type checkbox and disable it −MaleNow on the click of a button, toggle between disabled and enabled checkbox −$("#button1").click(function() {    $("#sName").attr('disabled', !$("#sName").attr('disabled')); });Example Live Demo jQuery Example               $(document).ready(function() {   ... Read More

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

Kristi Castro

Kristi Castro

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

4K+ 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

Security, Integrity and Authorization in DBMS

Kristi Castro

Kristi Castro

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

16K+ 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

3K+ 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

2K+ 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

2K+ 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

Advertisements