Pages

Saturday, November 5, 2011

Getting Started....

What is jQuery?










To begin with we need to .....

Step 1 Download the latest version of jQuery 

Step 2 Link the jQuery library in the head section of your document. Like
<script type="text/javascript" src="/jquery.js"></script>

You can skip Step 1 by using one of the CDN hosted jQuery Google Ajax API CDN ,
Microsoft CDN, jQuery CDN like
<script type="text/javascript" src="http://code.jquery.com/jquery-1.7.min.js"></script>

Step 3 Execute the code when the document is ready 

$(document).ready(function(){
 // your code here
});


That's it!!!


To see jQuery in Action 


If you have any questions, comments, or suggestions, please let me know in the comments section below!

No comments:

Post a Comment