<$BlogRSDUrl$> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } }
Wednesday, August 25, 2004

Bugs 

Was applying a method on a null object.
Forgot to take into consideration that the object may be null.


Comments: Post a Comment

This page is powered by Blogger. Isn't yours?