David Meador has Published 164 Articles

How can we concatenate two strings using jQuery?

David Meador

David Meador

Updated on 13-Feb-2020 07:22:50

4K+ Views

To concatenate two strings use the + concatenation operator. You can try to run the following code to learn how to concatenate two strings using jQuery −ExampleLive Demo         $(function(){       $("a").click(function(){         var id= $(".id").html();         $('.myclass').html("Hello");                   });     });              Click me            Tutorialspoint    

What are jQuery string methods?

David Meador

David Meador

Updated on 13-Feb-2020 07:21:52

551 Views

jQuery string methods helps in string manipulation and makes your work easier while using strings. String methods find the length of the string, a string in a string, extract string parts, etc. jQuery is a JavaScript library, so using JavaScript String functions in it is perfectly fine.ExampleYou can try to ... Read More

Process Scheduling Fundamentals

David Meador

David Meador

Updated on 31-Jan-2020 10:37:20

506 Views

Process Scheduling handles the selection of a process for the processor on the basis of a scheduling algorithm and also the removal of a process from the processor. It is an important part of multiprogramming in operating system.Process Scheduling AlgorithmsProcess scheduling algorithms are used to handle the selection of a ... Read More

Single-threaded and Multi-threaded Processes

David Meador

David Meador

Updated on 31-Jan-2020 10:30:07

36K+ Views

Single threaded processes contain the execution of instructions in a single sequence. In other words, one command is processes at a time.The opposite of single threaded processes are multithreaded processes. These processes allow the execution of multiple parts of a program at the same time. These are lightweight processes available ... Read More

Short-term vs medium-term vs long-term scheduling

David Meador

David Meador

Updated on 31-Jan-2020 09:47:42

6K+ Views

Process Scheduling handles the selection of a process for the processor on the basis of a scheduling algorithm and also the removal of a process from the processor. It is an important part of multiprogramming in operating system.Process scheduling involves short-term scheduling, medium-term scheduling and long-term scheduling. Details about these ... Read More

Major Activities of an Operating System with Regard to Secondary Storage Management

David Meador

David Meador

Updated on 31-Jan-2020 07:44:16

2K+ Views

Secondary storage devices are non-volatile devices where the data is stored for long-term storage. Disks are the mainly used secondary storage devices. They provide the bulk of secondary storage in operating systems today.The main activity that is performed in secondary storage management is disk scheduling. There are many disk scheduling ... Read More

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

David Meador

David Meador

Updated on 18-Dec-2019 08:28:37

58 Views

To get the children of the $(this) selector in jQuery, use the find() method with each() method. Let us first see how to add jQuery:ExampleYou can try to run the following code to get the children of the $(this) selector:Live Demo           jQuery Example     ... Read More

How do we use wildcard or regular expressions with a jQuery selector?

David Meador

David Meador

Updated on 18-Dec-2019 08:27:41

1K+ Views

Wildcard or regular expressions can also be used with jQuery selector for id of element.ExampleYou can try to run the following code to use wildcard or regular expressions with jQuery selector:Live Demo $(document).ready(function(){    $("[id^=sub]").css("background-color", "green"); }); Java HTML Ruby

How do we use jQuery selector eq:()?

David Meador

David Meador

Updated on 18-Dec-2019 07:38:02

173 Views

If you want to select an element with a specific index, then use the jQuery selector eq(). Here, set the index number to select the element.ExampleYou can try to run the following code to learn how to use jQuery selector eq():Live Demo $(document).ready(function(){    $("p:eq(1)").css("background-color", "red"); ... Read More

How to traverse Data Object Model (DOM) nodes using jQuery?

David Meador

David Meador

Updated on 18-Dec-2019 07:11:56

220 Views

jQuery traversing is used to find elements based on what is their relation twith other elements. You need to begin with one selection and move ahead till you the reach the elements you want.jQuery is a very powerful tool which provides a variety of DOM traversal methods to help us ... Read More

Advertisements