Simon Willison’s Weblog

1 item tagged “paulirish”

Automate firing of onload events. Paul Irish suggests setting up your site’s onload handlers in a single external JavaScript file then executing different handlers depending on the body element’s id attribute. # 17th January 2008, 4:08 pm

Related: javascript, onload