Starting javascript using jQuery

edited December 2014 in jQuery
You all know javascript only works on client side. Normally javascript used to animate or DOM manipulation. By the way, we will code javascript using jQuery library. For that reason, you must have to include jQuery library file before jQuery code. So, you have to download jQuery file from . After downloaded file, import that file to your project folder. Now include that jQuery file at html file head portion, like as below.

<script type="text/javascript" src="[file directory from this html file]/jquery.js"></script>
<script type="text/javascript">
/** check jquery added and working well */
    alert("working...");   /** if jQuery works well, a alert popup will show "working..." */

and now enjoy to jquery code in your project.

[keep reading to go forward..]


Sign In or Register to comment.