javascript - setTimeout() triggering without delay -


i have following code

        ext.onready(function () {             settimeout(everything(), 30000);         }); 

i trying wait ext.net finish compiling page before applying javascript elemtents. not problem in browsers $(document).load provides enough of delay. of course horrid internet explorer triggers .load prematurely means have put in hard coded delay in. above code however, nothing delay execution of everything().

any ideas?

remove () everything

settimeout(everything, 30000); 

by including (), telling browser execute everything , send it's return value callback function settimeout.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -