THE WORLD'S LARGEST WEB DEVELOPER SITE

jQuery Tutorial

jQuery is a JavaScript Library.

jQuery greatly simplifies JavaScript programming.

jQuery is easy to learn.

Start learning jQuery now »

Examples in Each Chapter

With our online editor, you can edit the code, and click on a button to view the result.

Example

$(document).ready(function(){
  $("p").click(function(){
    $(this).hide();
  });
});
Try it Yourself »

Click on the "Try it Yourself" button to see how it works.


jQuery Exercises

Test Yourself With Exercises

Exercise:

Use the correct selector to hide all <p> elements.

$("").hide();

Start the Exercise



jQuery Examples

Learn by examples! At W3Schools you will find a lot of jQuery examples to edit and test yourself.

See All jQuery Examples

jQuery Quiz Test

Test your jQuery skills at W3Schools!

Start jQuery Quiz!

jQuery References

At W3Schools you will find a complete reference of all jQuery selectors, methods, properties and events.

jQuery Reference

Kickstart your career

Get certified by completing the course

Get started w3schools CERTIFIED . 2021