I have a META tag coded as follows:
<META HTTP-EQUIV="refresh"
CONTENT="60;URL =http://www.mydomain.co m/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.getEle mentById("refre shMeta").httpEq uiv = 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.
<META HTTP-EQUIV="refresh"
CONTENT="60;URL =http://www.mydomain.co m/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.getEle mentById("refre shMeta").httpEq uiv = 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.
Comment