How to Start with jQuery

Reading Time: 1 minute

How to start with jquery? First step is to download jquery. Choose your version (1 or 2), and preferably compact version (.min) that three time less in size then non compact. If you use downloaded reference, you must have apache server running. Then make subfolder let’s say “js” inside folder where you will keep your projects and call your reference with following script

<script src=”js/jquery-2.1.1.min.js”></script>

Alternative is to put jquery reference on particular url. For example:

<script src=””></script>

Once when your jquery library is included, you can start with jquery coding. Initial block of code for utilizing jquery function is as follows:


<script src=”js/jquery-2.1.1.min.js”></script>


$(document).ready(function() {

… jquery code here.




Generally, jquery code is related to paragraph, text, button, image, div and other elements in your html page. Also, jquery functions are triggered by events such as .mouseover(), .mouseleave(), .mouseenter(), click and so forth.

External links:

How to Start with Jquery on jqueryui
How to Start with Jquery on jquery
How to Start with Jquery on learningjquery

Leave a Reply

Your email address will not be published. Required fields are marked *