Solved

Getting JavaScript to pause for 4 milliseconds

Posted on 2011-09-27
2
281 Views
Last Modified: 2012-05-12
I need to try and block the timeout message box from appearing on the ecreen while my lengthy java script executes. I have heard there is a function such as SetTimeOut(), that lets me force it to pause a few milliseconds, thereby resetting the clock so the box wil not appear.

Please confirm this and provide me the syntax for this. I hear the first param is the function to call and the second it the number of ms to sleep.  

True?

What does the function need to do? Could it be empty?

Thanks.

0
Comment
Question by:newbieweb
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 36714010
0
 

Author Closing Comment

by:newbieweb
ID: 36714016
Thanks!
0

Featured Post

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will show, step by step, how to integrate R code into a R Sweave document
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question