I have a problem with a javascript function link to <body onLoad=” “>. I simply got no response at all. Bearing in mind, I am working with microsoft window environment. Thank you for your help in this matter.
@CharlesAug 15.2006 — #Please bear in your own mind that you have given us very little to go on, no real description of the problem and no example of what you have tried. I'm afraid there's not much that we can do to help.
@tabzterAug 17.2006 — #have you confirmed that javascript is enabled in that particular browser?
Does it work in other browsers?
I dont see nothing wrong with that code (apart from a missing semi-colon -- but thats no bother). Maybe the load() function is a reserved word or something. Hopefully some1 will confirm.
@hansschmuckerAug 17.2006 — #The reason why the sample doesn't work might be something entirely different, namely that statusbar changes are forbidden in most modern browsers... try it with something like an alert... that should work.
@felgallAug 17.2006 — #Actually that should be window.onload=load; in the Javascript and <body> in the HTML.
If you do use the deprecated onload= in the body then capitalization doesn't matter because HTML is not case sensitive. If you put it in the Javascript then it must be all lowercase because Javascript is case sensitive.