Tuesday, May 12, 2009

Window.onLoad problems

Not related to LODESTAR development but something that annoyed the hell out of me.
On one my pages the Body onLoad stop working, did not fire anymore.
So I used the script window.onload = function.
but first I used window.onload = function() and get a error message
not implemented' javascript error
BECAUSE I USED THE PARENTHESES ........WTF!!

correct syntax = window.onload = function

No comments:

Post a Comment