Thanks Dave. I had already written this post before seeing your other
response.
I´ll try dojo.addOnLoad(fn).
Dave Newton escribió:
--- Pablo Vázquez Blázquez <[EMAIL PROTECTED]> wrote:
What I want is to execute my js after the page is loaded (so, the normal
behabiour), not while it is loading.
"window.onload" does not execute while the page is loading; that wouldn't
make any sense: it executes after all page-related requests have been made. I
don't know if that necessarily means that every browser will have rendered
the entire DOM; you'd need to ask a question like that in a more appropriate
forum.
In any case, see my other response to your original question, which details a
more Dojo-friendly method.
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]