THE WORLD'S LARGEST WEB DEVELOPER SITE

jQuery Tutorial

jQuery is a JavaScript Library.

jQuery greatly simplifies JavaScript programming.

jQuery is easy to learn.


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.

Start learning jQuery now!

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

jQuery Exam - Get Your Diploma!

W3Schools Certification

W3Schools' Online Certification

The perfect solution for professionals who need to balance work, family, and career building.

More than 25 000 certificates already issued!

Get Your Certificate »

The HTML Certificate documents your knowledge of HTML.

The CSS Certificate documents your knowledge of advanced CSS.

The JavaScript Certificate documents your knowledge of JavaScript and HTML DOM.

The Python Certificate documents your knowledge of Python.

The jQuery Certificate documents your knowledge of jQuery.

The SQL Certificate documents your knowledge of SQL.

The PHP Certificate documents your knowledge of PHP and MySQL.

The XML Certificate documents your knowledge of XML, XML DOM and XSLT.

The Bootstrap Certificate documents your knowledge of the Bootstrap framework.