Jquery is the Javascript library which has been written using javascript. Which simplifies the Javascript pragramming.
Jquery Library contains the following features
1. HTML/DOM manipulation
2. CSS manupulation
3. HTML event methods
4. Effect and animations
5. Ajax
6. Utilities
Sample code for Jquery Example which is used for hiding the paragraph
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <script src="../Scripts/jquery.min.js"></script> <script> $(function () { $("p").click(function () { $(this).hide(); }); }); </script> </head> <body> <p>This is the line1</p> <br /> <p>This is the line2</p> <br /> <p>This is the line3</p> <br /> </body> </html>
Note: here $(this).hide() is used for hiding the current paragraph line