News

Document.ready vs body.onload function 1 - document.ready function is called as soon as html dom is loaded, where body.onload function is called when everything gets loaded on the page that includes ...
This is driving me a bit crazy. I've got a small bit of javascript that runs via body.onload and selects a form element. This works flawlessly in IE when run as a standalone browser, but does not ...
OnLoad JavaScript for Rails This Rails 3.1+ add-on lets you easily run a JavaScript function based on what controller and action is being loaded.
Since you just open a window with no content, I wouldn't have expected onload to be fired there either.<br><br>However, thinking about it, it des seems reasonable that onload should fire when you ...