By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,696 Members | 1,462 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,696 IT Pros & Developers. It's quick & easy.

Delay loop in javascript

P: 31
Hi,

Could you tell me how to construct a delay loop in javascript.

Thanks,
Raghu
Jan 8 '08 #1
Share this Question
Share on Google+
3 Replies


Expert 10K+
P: 11,448
Hi,

Could you tell me how to construct a delay loop in javascript.

Thanks,
Raghu
Hi, this is a Java forum and Java and Javascript have almost nothing in common.
I'll move your post over to the Javascript forum.

kind regards,

Jos
Jan 8 '08 #2

gits
Expert Mod 5K+
P: 5,327
hi ...

what do you mean with a delay-loop? you simply may use:

Expand|Select|Wrap|Line Numbers
  1. window.setTimeout(func_ref, milliseconds);
to call a function (func_ref) after a given amount of time.

kind regards
Jan 8 '08 #3

P: 31
Thanks for the reply. Appreciate it.
Sorry, i did not realise i had posted in the java forum.

Raghu
Jan 8 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.