Getting Started

Include jQuery JS file to your HTML document

  • Add <script> tag that points to jQuery JS file downloaded on your machine

  • Or, add <script> tag that points to jQuery JS file available on internet CDN

Code: Add jQuery JS file hosted on CDN

Here we will add <script> that point to jQuery available on http://code.jquery.com [CDN]

index.html
<html>
    <head>
        <script src="http://code.jquery.com/jquery-1.11.0.min.js">
        </script>
    </head>
</html>

That's it, you are ready to go!
Source Code @ github

jQuery basic