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>
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.
Was this information helpful?

