jQuery Hello World

For start , first include  jQuery library in you page.

<script src="jquery-1.3.2.min.js" type="text/javascript"></script>

or Another option is to reference jQuery library directly from google code.

Then use below code in your page.

  1. <script type=”text/javascript”>
  2.   (function(){
  3.     alert(“HELLO WORLD!”);
  4.     });
  5.   </script>

On load this script  display a alert box showing message “Hello World”.

Share this nice post:

2 thoughts on “jQuery Hello World

Leave a Reply

Your email address will not be published. Required fields are marked *