META refresh when javascript disabled
Posted: Tue Jun 26, 2007 12:47 am
I have a form that allows a submission to another person who is also online and viewing the page. You make a request and the person receives that request and responds in real time.
I am working on an AJAX setup to do this, however I'm wondering how I can handle users who have javascript disabled. Before the AJAX approach, I had a META refresh, however if the javascript is enabled, I don't want the refresh to happen.
I had thought I could set up javascript traps to track non-javascript users and perhaps set a SESSION variable and use the method most appropriate, however I'm interested if there is another way.
In particular, can javascript disable or modify the META tag?
I am working on an AJAX setup to do this, however I'm wondering how I can handle users who have javascript disabled. Before the AJAX approach, I had a META refresh, however if the javascript is enabled, I don't want the refresh to happen.
I had thought I could set up javascript traps to track non-javascript users and perhaps set a SESSION variable and use the method most appropriate, however I'm interested if there is another way.
In particular, can javascript disable or modify the META tag?