You are here: irt.org | FAQ | JavaScript | Redirect | Q112 [ previous next ]
If you place this in the page to be refreshed every 10 seconds then it will:
<META HTTP-EQUIV="refresh" CONTENT="10;http://www.somewhere.com/">
To use JavaScript to refresh another frame every 10 seconds:
<SCRIPT LANGUAGE="JavaScript"><!--
function refreshFrame() {
parent.otherFrameName.location.href = 'http://www.somewhere.com/';
setTimeout('refreshFrame()',10000);
}
refreshFrame();
//--></SCRIPT>