HI WELCOME TO KANSIRIS

JavaScript that executes after page load

Leave a Comment

You can put a "onload" attribute inside the body
...<body onload="myFunction()">...
Or if you are using jQuery, you can do
$(document).ready(function(){ /*code here*/ }) 

or 

$(window).load(function(){ /*code here*/ })

0 comments:

Post a Comment

Note: only a member of this blog may post a comment.