Delay, sleep, pause, wait etc in JavaScript

jquery4u.com / filed under Javascript, jQuery

Today I was just looking into ways to simulate delay, sleep, pause, wait or such in JavaScript/jQuery. I’ve briefly looked into this topic before for locking a web page on timer. Here are some more thoughts on the topic. PHP has a sleep() function but JavaScript doesn’t as such.

Join thousands of product people and get the latest articles and resources from my curation every day or week.