The text of this article is not in this database — only its details are. Read it on the old site: How to set delay time in JavaScript
3 Comments
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
The text of this article is not in this database — only its details are. Read it on the old site: How to set delay time in JavaScript
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
Binod SumanPosted Jul 1, 2009, 10:43 AM
Very nice tutorial. But there is one more way to put the delay in javascript function using false looping. Check this below code function pauseJS(timeInMilliS) { var date = new Date(); var curDate = null; do { curDate = new Date(); } while(curDate-date < timeInMilliS); } source: http://binodservlet.blogspot.com/2009/06/how-to-set-wait-in-javascript.html Thanks, Binod Suman http://binodsuman.blogspot.com