Archive for April 17th, 2008

17Apr

The dangers of overriding JavaScript onload event handlers

I gave myself a right old fright while tinkering with my hillwalking and photo gallery website. The problem stemmed from my use of window.onload to set up behaviours for web pages in a visitor information directory on the site. A lapse of concentration allowed me to associate an onload event handler with the body tags [...]

Private