[Users] onload ="init();" or ext.onReady(function()...)

Robert Buckley robertdbuckley at yahoo.com
Fri Feb 4 17:02:04 CET 2011


Hi,

When developing a relatively large ext/geoext app, which would be the best way 
of starting the app from the initial html page? I am rather confused about which 
does what and which is better for performance. 


As far as I can understand the following happens..

onload="init();" triggers the javascript code when the html page is fully loaded 
into the browser

Ext.onReady(function()...loads when the ext.js library has been loaded into the 
browser (..cache?)so which is more effective?

yours,

Robert

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20110204/9b4fded3/attachment.htm 


More information about the Users mailing list