I am trying to fire a function every 60 seconds.
Here is my current code:
<script>
$(document).ready(function() {
setInterval(alertme, 600000);
});
function alertme() {
alert('1 minute has passed');
}
</script>
For some reason the function alertme is not being called.
Any ideas why?