Friday, 26 March 2010

How code run after doucment loaded properly?

 
$(document).ready(function(){
   // Your code here
 });
$(document).ready(function() {
$("a").click(function(event){
     alert("Thanks for visiting!");
   });
}); 
This function will work until or unless page will be loaded properly.

No comments:

Post a Comment