[dojo-contributors] onDomLoad vs. onLoad

ilia ilia at dojotoolkit.org
Sat Apr 8 16:33:42 EDT 2006

Yes, I tried it, but some bugs were reported. 


You are welcome to check "Uncomment this to allow init after DOMLoad" in
hostenv_browser.js and try ;)




From: dojo-contributors-bounces at dojotoolkit.org
[mailto:dojo-contributors-bounces at dojotoolkit.org] On Behalf Of Jon Sykes
Sent: Saturday, April 08, 2006 10:31 PM
To: dojo dev.
Subject: [dojo-contributors] onDomLoad vs. onLoad


Not sure if this subject has been discussed before, but I did a quick "find"
on the dojo files and couldn't find any functions that seemed to do this.


Has anyone considered adding an onDomLoad type of function to the library.


ala: http://brothercake.com/site/resources/scripts/domready/


It has some great benefits - the largest being that you can start DOM
manipulation before the non DOM based elements have been loaded (aka


Of course it shouldn't replace onload triggers, but it could add something
to page load - which I know is a big deal in the "Web 2.0" world. ;-)



Jon Sykes


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.dojotoolkit.org/pipermail/dojo-contributors/attachments/20060409/ba4e85df/attachment.htm 

More information about the dojo-contributors mailing list