Re: onload handler order of firing



On 2006-02-02, Thomas 'PointedEars' Lahn <PointedEars@xxxxxx> wrote:
VK wrote:

Thomas 'PointedEars' Lahn wrote:
VK wrote:
window.onload handler call merely means that DOM structure is ready
[...]

No, that is what document.body.onload or the `onload' attribute of the
`body' element means. window.onload means that the window was loaded.

?

document.body doesn't have / trig "load" event.


It has.

post a working example. I tried this, and similar with not effect.

<script type="text/javascript">
document.body.onload=function (){alert("Thomas is right");};
</script>

<body onload="f()"> is just older [...] equivalent of window.onload

Not at all.

It is largely equivalent here, are you saying it's newer?

Bye.
Jasen
.



Relevant Pages

  • Office 2004 Error - Microsoft Framework Library
    ... when I open up any office program a warning message in a window appears saying: "An unexpected error occured while trying to load the Microsoft Framework Library" ...
    (microsoft.public.mac.office)
  • Re: location.replace problem
    ... already in the top window. ... If it isn't, load it there. ... That will alleviate the onload issue. ... frame check? ...
    (microsoft.public.scripting.jscript)
  • Re: onload handler order of firing
    ... that is what document.body.onload or the `onload' attribute of the ... window.onload means that the window was loaded. ... document.body doesn't have / trig "load" event. ...
    (comp.lang.javascript)
  • Re: Internet Explorer fails to load any webpage, stays blank.
    ... >> page load status indicator, no icons, nothing in the lower right hand ... Also, in AIM instant messenger, pop ... >> like the AIM today window open but nothing loads,...just white space. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: how do you get gnustep to run?
    ... I did not know my monitor information and used the values that it came up with and they appeared to work fine. ... In the event that it can help you right now, I have pasted the contents of my /etc/X11/xorg.conf file as well as my .xinitrc file which will start Window Maker when startx is entered. ... Load "extmod" ... Viewport 0 0 ...
    (freebsd-questions)