tadam logo
Did you find an error in the text?
Select this with mouse and press
Ctrl + Enter
Xhtml.co.il Check Spelling
Orphus system
Services
Join our mailing list for latest news
Email
Name and Surname
jQuery
jQuery is a lightweight JavaScript library that emphasizes interaction between JavaScript and HTML. It was released in January 2006 at BarCamp NYC by John Resig. jQuery is free, open source software Dual-licensed under the MIT License and the GNU General Public License.

Examples in Each Chapter

This jQuery tutorial contains more than 100 jQuery examples.

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

Example

Your first example in jQuery
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
                    "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>

<script src="http://code.jquery.com/jquery-latest.js"></script>
  
  <script type="text/javascript" language="javascript">
  $(document).ready(function(){
    $("button").click(function () {
      $("p").toggle();
    });
  });
  </script>
</head>
<body>
<button>Toggle</button>
<p>Hello</p>
<p style="display: none">Good Bye</p>
</body>
</html>
The output of the code above will be:

Click on the "Try it yourself" button to see how it works

At the end of the jQuery tutorial you will find more than 100 examples you can edit and test yourself.

Start learning jQuery now!

Was this information helpful?
   

Comments