Delay an Ajax Call in jQuery by Few Seconds using setTimeout() Function

The default delay is 5000 milliseconds (5 Seconds). Change the value in the box according to your requirement and click the Show Data button. It will extract (GET) data from an XML file with the defined delay period.

Go back to the Tutorial
More interesting and interactive Demos