The Netlobo logo - a Nevada desert landscape

Comments for Javascript location.reload example

< Back to the article

5 comments for this article.

RSS Feed Icon Subscribe to the comments for this article

Posted: 2007-10-03 23:42:48 by lakshmi
thank you for your code.
Posted: 2007-11-28 14:20:21 by Abatonime
hello,
this function is much easier :

window.setTimeout("location.reload()", 5000);

bye
Posted: 2007-11-28 14:23:46 by lobo235 - Netlobo Staff Member
Abatonime,

Your code is much better. In your example the number 5000 represents the number of milliseconds to wait before calling location.reload(). The code in the article tries to make the function user friendly by accepting seconds as a parameter and then converting the seconds to milliseconds transparently. I will update the article to use this much simpler example when I get the time because the old function is overkill.
Posted: 2008-03-24 08:03:55 by Prabu
hai....
this coding is very much usefull for develope my website.
thank u so much.

ragards
Prabu Rajamanickam
Posted: 2008-06-25 09:47:46 by satyam
it is very good and simple understading

thanks

RSS Feed Icon Subscribe to the comments for this article

Post your comment for the Javascript location.reload example article:

Name (required) (letters and numbers only):
Email (required) (will not be published):
Website (include http://):
Comment (required): (HTML tags allowed: pre, strong, em, b, i)