JQuery hello world program

Quick Guide to Write Hello World Program in Jquery. Latest Jquery version is stable and usable in all modern browsers.Juqery core library available in two format minified versions and development (Full) version. To start with Jquery Hello World Program we need download the Jquery javascript.

Download jQuery Latest Version

You can download jquery.js javascript from major IT vendors like Google CDN, Microsoft CDN and Jquery CDN

Create Simple helloworld.html file and copy past the below code. And open that file into browser It will display "Hello World.." alert message on page load. We are downloading Jquery.js from google api service.

<html>
<head>
<title>JQuery Hello World Example</title> 
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
</head>

<script type="text/javascript"> 
$(document).ready(function(){
 alert('Hello World..');
});
 
</script>

</html> 

With $(document).ready(), you can get your events to load or fire or whatever you want them to do before the window loads. i.e do something on document ready.