daGrevis Posted December 13, 2010 Report Share Posted December 13, 2010 setTimeout( window.location.replace( 'http://dagrevis.lv/' ), 2000 ); Teiksim šis - strādā... setTimeout( alert( 'http://dagrevis.lv/' ), 2000 ); Quote Link to comment Share on other sites More sharing options...
0 briedis Posted December 13, 2010 Report Share Posted December 13, 2010 (edited) Tāpēc, ka pirmais parametrs šai funkcijai ir vikne (string), kas tiek izpildīta (eval()). setTimeout("function(){kods te}", 2000); Edited December 13, 2010 by briedis Quote Link to comment Share on other sites More sharing options...
0 rATRIJS Posted December 13, 2010 Report Share Posted December 13, 2010 Smukaak imo ir shaadi: setTimeout(function() { doStuff(); }, 2000); Quote Link to comment Share on other sites More sharing options...
0 daGrevis Posted December 13, 2010 Author Report Share Posted December 13, 2010 Paldies. =) Quote Link to comment Share on other sites More sharing options...
Question
daGrevis
Teiksim šis - strādā...
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.