- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Kristi Castro has Published 98 Articles
![Kristi Castro](https://www.tutorialspoint.com/assets/profiles/44730/profile/60_19515-1530624995.png)
Kristi Castro
5K+ Views
Most computer systems are single processor systems but multiprocessor systems are increasing in importance nowadays. These systems have multiple processors working in parallel that share the computer clock, memory, bus, peripheral devices etc.There are mainly two types of multiprocessor systems. These are −Symmetric Multiprocessor SystemAsymmetric Multiprocessor SystemIn symmetric multiprocessing, multiple ... Read More
![Kristi Castro](https://www.tutorialspoint.com/assets/profiles/44730/profile/60_19515-1530624995.png)
Kristi Castro
2K+ Views
Memory management plays an important part in operating system. It deals with memory and the moving of processes from disk to primary memory for execution and back again. Some basic concepts related to memory management are as follows −Virtual Address Space and Physical Address SpaceThe address generated by the CPU ... Read More
![Kristi Castro](https://www.tutorialspoint.com/assets/profiles/44730/profile/60_19515-1530624995.png)
Kristi Castro
14K+ 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
![Kristi Castro](https://www.tutorialspoint.com/assets/profiles/44730/profile/60_19515-1530624995.png)
Kristi Castro
2K+ 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
![Kristi Castro](https://www.tutorialspoint.com/assets/profiles/44730/profile/60_19515-1530624995.png)
Kristi Castro
1K+ Views
Random access memory (RAM) is a type of primary storage. It allows the user to randomly access any part of the data regardless of its position in roughly the same time. This is not possible using other storage devices such as hard disks, CD’s etc. because they have physical constraints ... Read More
![Kristi Castro](https://www.tutorialspoint.com/assets/profiles/44730/profile/60_19515-1530624995.png)
Kristi Castro
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
![Kristi Castro](https://www.tutorialspoint.com/assets/profiles/44730/profile/60_19515-1530624995.png)
Kristi Castro
2K+ 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
![Kristi Castro](https://www.tutorialspoint.com/assets/profiles/44730/profile/60_19515-1530624995.png)
Kristi Castro
5K+ 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
![Kristi Castro](https://www.tutorialspoint.com/assets/profiles/44730/profile/60_19515-1530624995.png)
Kristi Castro
2K+ Views
Use event delegations to include both add a new and delete a table row on a web page using jQuery.Firstly, set a button in HTML to add new row Add new Row Now under the button click event, set the code:$("#newbtn").click(function () { }Example Live Demo ... Read More
![Kristi Castro](https://www.tutorialspoint.com/assets/profiles/44730/profile/60_19515-1530624995.png)
Kristi Castro
3K+ Views
To add a new list element under a ul element, use the jQuery append() methodSet input type text initiallyValue: Now on the click of a button, add a new list element using the val() and append() methods in jQuery:$('button').click(function() { var mylist = $('#input').val(); $('#list').append(''+mylist+''); return false; ... Read More