I have a META tag coded as follows:
<META HTTP-EQUIV="refresh"
CONTENT="60;URL=http://www.mydomain.com/myPage.html" id="refreshMeta">
This of course causes the page to automatically refresh itself every 60
seconds.
Now I want to have a button on my page that allows the user to stop the page
from reloading itself so I created the following function:
function disableRefresh()
{
document.getElementById("refreshMeta").httpEquiv = 0;
}
This all works fine when run locally on my machine, but it does not work
when run served by a remote server and I don't know why.
I'm running Windows 2000, Internet Explorer 6.0, and WebLogic 7.0 on the
remote server.