I have a web application that delivers dynamic content to the page. At the moment I have a meta tag based refresh every 300 seconds on that page. I would like to be able to "cancel" the refresh using javascript if certain criteria are met (by the user) on the page (I would fire a call to a function at the stage I want to do this).
I'm developing for FF as well as IE for windows (and degrading support for other browsers and platforms as needed). Ideally any javascript would remain cross-browser at the very least.
I want to keep using the meta refresh (rather than opting for a setTimeout() call) so that my non-javascript users get a chance to use the web app.
Whilst I am using php to deliver this, I don't really want to "sniff" whether javascript is enabled early on in the app if I can avoid it.
Has anyone used Javascript to do this? If so... any suggestions or caveats that you came across?
Cheers,
Jeff
[tt]Jeff's Page [/tt][tt]@[/tt][tt] Code Couch
[/tt]
I'm developing for FF as well as IE for windows (and degrading support for other browsers and platforms as needed). Ideally any javascript would remain cross-browser at the very least.
I want to keep using the meta refresh (rather than opting for a setTimeout() call) so that my non-javascript users get a chance to use the web app.
Whilst I am using php to deliver this, I don't really want to "sniff" whether javascript is enabled early on in the app if I can avoid it.
Has anyone used Javascript to do this? If so... any suggestions or caveats that you came across?
Cheers,
Jeff
[tt]Jeff's Page [/tt][tt]@[/tt][tt] Code Couch
[/tt]