Roan Kattouw wrote:
You probably need to do window.addHandler( .. )
instead?
Alternatively, use jQuery to bind events. If you just want to do
something upon document ready, use:
jQuery( document ).ready( function() { ... } ); or even jQuery(
function() { ... } );
Thanks Roan. I used your jQuery implementation in place of addHandler, and it worked fine.
I still don't know why addHandler didn't work (neither did window.addHandler).
DanB