Information Systems



Javascript setInverval runs right away

Make sure you list your timer function instead of calling it.

<script>

function myTimer()
{

if (altered())
{
location.reload();
}
}

setInterval(myTimer,60000); // correct
setInterval(myTimer(),60000); // WRONG!!!!
</script>