Home / Free JavaScripts / Other / Here

Cut & Paste Auto refresh page with timer

Credit: JavaScript Kit

Description: This script (perceptually) refreshes a webpage, after the specified amount of time. "Why use JavaScript to do that, when I could accomplish the same thing using the <meta http-equi='refresh'> tag?", you ask. Simple. Because that tag certainly won't display in the document's title bar the time remaining until the page refreshes, as with this script!


Directions: Simply copy the below into the <head> portion of your page:

Change the time for each refresh by configuring variable "limit" in the script.

JavaScript Tools:
Site Info

CopyRight (c) 2018 JavaScript Kit. NO PART may be reproduced without author's permission. Contact Info