Click to See Complete Forum and Search --> : need help with frames refreshing


blee
10-11-2003, 06:15 PM
Hi All,

I have 3 frames in my html. How can I set a timer to make only one frame to refresh say every 5 secs?

pyro
10-11-2003, 06:28 PM
This should do it for you...

<script type="text/javascript">
function refreshPage() {
window.location.reload(true);
}
setInterval("refreshPage()", 5000);
</script>

blee
10-13-2003, 03:29 AM
Thanks Pyro. This works for me.

pyro
10-13-2003, 09:07 AM
You're welcome... :)