Is there a way to use javascript to refresh a page once onLoad? w/out getting stuck in a loop?
I have this but it gets stuck in a loop:
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″>
<script type=”text/javascript”>
function refreshPage(){
window.location.reload( false );
}
</script>
</head>
<body onLoad=”refreshPage()”>
woot
</body>
</html>
PLEASE HELP
<body onLoad=”if (location.href.indexOf(‘reload’)==-1) location.replace(location.href+’?reload’)”>