Day: March 23, 2010


Javascript pause method: To create delays in javascripts

Creating delays in javascript can be very essential under certain specific scenarios, though i would recommend you to avoid it in most cases. The right way to create a delay would be by using setTimeOut method in javascript, as below: setTimeout("alert('hello world')",1500); // shows alertbox after 1500 milliseconds The lazy way or to be precise ...