Tuesday, 23 July 2013

From Where I can Start Jquery ??

INSTALL JQUERY :-

First of all we have to need Jquery library file before writing any code on Jquery . Download latest version of jquery.js file from www.jquery.com Website.
Current version is 1.8.0 is Select the Production (32KB, Minified and Gzipped) and click on Download  jquery-1.10.2.min.js/jquery-1.10.2.js.
How to use jQuery Library?
So first thing is that you need to Add Jquery Library on Page.
Ex:-
<html><head>  <script type="text/javascript" src="jquery-1.8.0.min.js"></script>
<script type="text/javascript">   $(document).ready(function() {
      $("div").click(function() {  alert("Wel-Cometo the jQuery..!");  });   });   </script>
</head>
<body>
<div id=“test">
Hey welcome to Jquery.

</div></body></html>