javascript Auto Refresh page

function timedRefresh(timeoutPeriod) {
	setTimeout("location.reload(true);",timeoutPeriod);
}

//example use on <body>:
//<body onload="JavaScript:timedRefresh(5000);">
Automatically refreshes a page after a timeoutPeriod.

Updated: Friday 8th October 2010, 09:19pm

There are 0 comments

Leave a comment of your own

Comments are currently closed.