I have the following code
Ext.onReady(function () {
setTimeout(everything(), 30000);
});
I am trying to wait for EXT.NET to completely finish compiling the page before applying any javascript to the elemtents. This is not a problem in most browsers as $(document).load provides enough of delay. Of course the horrid internet explorer triggers .load prematurely which means I have to put in a hard coded delay in. The above code however, does NOTHING to delay the execution of everything().
Any ideas?
Remove the
()fromeverythingBy including
(), you are telling the browser to immediately executeeverythingand send it’s return value as the callback function to thesetTimeout.