jQuery fans blog and community sharing news, plugins, video tutorials, demos and more.

jQuery setTimeout() Function Examples

JavaScript code snippet to do something once after 5 seconds. The jQuery JavaScript setTimeout function can be used to automate a task using a once only time based trigger. This function is very similar to the jQuery JavaScript setInterval() Function. View code on GitHub Basic…

Continue reading →

Delay AJAX call for X seconds

jQuery code snippet to delay AJAX call for X seconds. Could be used for events that require action before getting data from the server side via AJAX. Update: There is an easier way to do this by using setTimeout() function – See below for an…

Continue reading →

scroll to top