jqueryexample.com jQuery Hello World - jqueryexample.com

jQuery Hello World by jqueryuser

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”.

Did you like this? Share it:

Discussion

No comments yet, be the first.

Leave a Comment