A Basic Program on Jquery

Jquery is client-side language, which makes easy processing and less server load on server. As its run on client side and perform a useful function, like we don't have to refresh all the page to get the output on the browser.

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
####################################

<html>
<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

Popular posts from this blog

Page Unload Show Notification to user

Function Oriented File Upload PHP

Upload File Using PHP - Example For Image