-All Browser support
-Simple and detailed documentation of existing
-Lots Plugin is available free of cost.
-CSS3 selectors Supported
There are also many advantages.
Adding the JQuery Library to Web Pages
It can be added to a web page with the following mark-up:
**Please note that the <script> tag should be inside the page's <head> section.
Basic JQuery Example
The following example demonstrates the jQuery hide() method, hiding all <p> elements in an HTML document.
<h2>This is a heading</h2>
<p>This is a paragraph.</p>
<p>This is another paragraph.</p>