Posted On: Feb 22, 2018
The jQuery() can also be written as $(). It is used as a selector for searching through the DOM elements that match the provided selector. It searches within the DOM element at the document root.
Example
$(“h1”).hide() ;
In the above statement, $() selects the h1 heading and applies the provided action. It hides all the heading h1 tags in the document.
Never Miss an Articles from us.
jQuery is a lightweight JavaScript library which gives a quick and simple method for HTML DOM traversing and manipulati..
There are many advantages of JQuery. Some of them are :It is more like a JavaScript enhancement so there is no overhea..
There are 3 types of selectors in JqueryCSS Selector XPath Selector Custom Selector..