Archive: September 2009
Sat
Sep
19

Today I’m going to show you how to setup a javascript refresh function that can be called whenever you would like to refresh the page. This code can also work as a redirect script.
Lets start with the function…

<script type=”text/javascript”>
function pageRefresh(timeoutPeriod) {
setTimeout(”location.reload(true);”,timeoutPeriod);
}
</script>

Now lets look at the call for this function. This is how you would [...]


  Copyright © 2009 Snidge.com. All rights reserved.