About 46,500 results
Open links in new tab
  1. Window setTimeout () Method - W3Schools

    Notes The setTimeout () is executed only once. If you need repeated executions, use setInterval () instead. Use the clearTimeout () method to prevent the function from starting. To clear a timeout, use …

  2. Window: setTimeout () method - Web APIs | MDN - MDN Web Docs

    Jun 17, 2026 · The setTimeout() method of the Window interface sets a timer which executes a function or specified piece of code once the timer expires.

  3. setTimeout () in JavaScript - GeeksforGeeks

    Jun 1, 2026 · The setTimeout () method in JavaScript is used to execute a function or a piece of code after a specified time delay. It is commonly used for scheduling one-time tasks such as delayed …

  4. JavaScript Timers - W3Schools

    Run a Function After a Delay JavaScript timers let you run a function after a delay or repeatedly at fixed intervals. The two main timer functions are setTimeout () and setInterval ().

  5. what is setTimeOut () function in javascript? - Stack Overflow

    Dec 29, 2010 · setTimeout is a method of the global window object. It executes the given function (or evaluates the given string) after the time given as second parameter passed.

  6. JavaScript setTimeout () Method: Syntax, Parameters & Examples

    Jun 23, 2026 · JavaScript setTimeout() runs a function once after a delay. Learn the milliseconds argument, clearTimeout(), and why the delay is a minimum, with live examples.

  7. Calling functions with setTimeout () - Stack Overflow

    Related: Why is the method executed immediately when I use setTimeout?, How can I pass a parameter to a setTimeout () callback?, what is the third param in setTimeout function?.

  8. Window setTimeout () Method

    Definition and Usage The setTimeout () method calls a function or evaluates an expression after a specified number of milliseconds. Tip: 1000 ms = 1 second. Tip: The function is only executed once. …

  9. Scheduling: setTimeout and setInterval

    Feb 25, 2026 · The setTimeout above schedules the next call right at the end of the current one (*). The nested setTimeout is a more flexible method than setInterval. This way the next call may be …

  10. Javascript setTimeout () - Programiz

    The setTimeout () method executes a block of code after the specified time. The method executes the code only once. The commonly used syntax of JavaScript setTimeout is: setTimeout(function, …