addLoadEvent function


/ Published in: JavaScript
Save to your folder(s)

Description: Execute different functions when the page loads in a better way than default onload JS event. Include it in the end of the JS document.
Arguments: Name of the function that you want to execute when the page loads.
Author: Simon Willison

URL: http://simonwillison.net/2004/May/26/addLoadEvent/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.