With which will function(){} fire first?
A) window.addEvent('domready', function(){});
B) window.addEvent('load', function(){});
With which will function(){} fire first?
A) window.addEvent('domready', function(){});
B) window.addEvent('load', function(){});
domready comes first as load waits till everything on the page is loaded before executing.