MooTools: domready vs load

JamesBrownIsDead picture JamesBrownIsDead · Nov 4, 2009 · Viewed 11.6k times · Source

With which will function(){} fire first?

A) window.addEvent('domready', function(){});
B) window.addEvent('load', function(){});

Answer

Björn picture Björn · Nov 4, 2009