Execute script after specific delay using JavaScript
javascript, settimeout
Solution
There is the following:
setTimeout(function, milliseconds);
function which can be passed the time after which the function will be executed.
See: Window `setTimeout()` Method.
Problem
Is there any JavaScript method similar to the jQuery `delay()` or `wait()` (to delay the execution of a script for a specific amount of time)?