A Basic Program on Jquery

This include checking the Text fields requirement, changing the color for a particular block or Div.
We will cover all this on later in the blog.
Currently we will know the basic for the jquery.
First we need to include the jQuery File on the page, before calling the Our defined Function or code.
We can download the latest file from the jQuery Site or simply include the path of the jQuery site.
Reference: http://jquery.com/
You can check the latest link from here
####################################
jQuery Program
####################################
<head>
<title>
Start with jQuery
</title>
<!-- include the jQuery File form the jQuery site -->
<script src="//code.jquery.com/jquery-1.11.0.min.js"></script>
<!-- include the jQuery File form the jQuery site -->
<!-- using jQuery -->
<script>
jQuery(document).ready(function(){
console.log("Document is loaded properly");
});
console.log('Its Working');
</script>
<!-- using jQuery -->
</head>
<body>
This is Program for understanding jQuery.
</body>
</html>
####################################
Comments
Post a Comment