
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
David Meador has Published 163 Articles

David Meador
1K+ Views
To get the input value of the first matched element using jQuery, use the .first() method.ExampleYou can try to run the following code to get the input value of the first matched element using jQuery −Live Demo ... Read More

David Meador
510 Views
jQuery comes with a lot of methods to manipulate attributes. These are DOM related methods. The attributes include, text() and html() too, text() – This method sets or returns the text content of elements selected.html() – This method sets or returns the content of elements selected.ExampleYou can try to run ... Read More

David Meador
420 Views
To get the text contents of all matched elements using jQuery, use the text() method. You can try to run the following code to get text contents of all matched elements using jQuery −ExampleLive Demo The Selector Example ... Read More

David Meador
5K+ Views
The code which gets included inside $( window ).on( "load", function() { ... }) runs only once the entire page is ready (not only DOM).Note: The load() method deprecated in jQuery version 1.8. It was completely removed in version 3.0. To see its working, add jQuery version for CDN before ... Read More

David Meador
2K+ Views
To initialize jQuery in a web easy is quite easy. You can try to run the following code to learn how to initialize jQuery in a web page. We’re using Google CDN to add jQuery. Microsoft CDN is also available for the same purpose of adding jQuery library to HTML.ExampleLive ... Read More

David Meador
1K+ Views
To add a class on click of anchor tag using jQuery, use the addClass() method. You can try to run the following code to learn how to implement adding a class on click of anchor tag using jQuery −ExampleLive Demo ... Read More

David Meador
439 Views
The jQuery attr() method is used to get the value of an attribute, with the attribute, for example, href. Mention the attribute as the parameter of the attr() method.You can try to run the following code to learn how to use the attr() method to get the value of an ... Read More

David Meador
2K+ Views
Using jQuery selector, you can select an element by tag name. The jQuery element selector selects elements.ExampleTry to run the following code to learn how to select an element by tag name using jQuery −Live Demo jQuery Selector Example ... Read More

David Meador
269 Views
A jQuery Selector is a function which makes use of expressions to find out matching elements from a DOM based on the given criteria.Selectors are used to select one or more HTML elements using jQuery. Once an element is selected then we can perform various operations on that selected element. ... Read More

David Meador
7K+ Views
You can easily concatenate variable in a string in jQuery, using the jQuery html() method. Try to run the following code to learn how to use variable in a string with jQuery −ExampleLive Demo $(function(){ $("a").click(function(){ var ... Read More