kraadde Posted October 9, 2007 Share Posted October 9, 2007 I coded a page which I want to be reloaded periodically. I used the following line in the header: <meta http-equiv="refresh" content="60; URL=http://....../"> It all works. The problem is, that the page contains a form that is being filled by the user. I want to pause (or stop) the reloading while the form is being filled, in order to avoid the page to reload while the form has not been sent out. Is there any possibility to do so without using Javascripts? This is not an option, because some users may have Java execution deisabled.. Many thanks for your all help kraadde Quote Link to comment https://forums.phpfreaks.com/topic/72437-reloading/ Share on other sites More sharing options...
Aureole Posted October 9, 2007 Share Posted October 9, 2007 Strange situation... eh, I doubt this is possible without Javascript... but most people have it enabled anyway so it's not that much of a problem. Quote Link to comment https://forums.phpfreaks.com/topic/72437-reloading/#findComment-365289 Share on other sites More sharing options...
haaglin Posted October 9, 2007 Share Posted October 9, 2007 Strange situation... eh, I doubt this is possible without Javascript... but most people have it enabled anyway so it's not that much of a problem. I agree. People that dont have javascript enabled probably has problems with a lot of websites anyway. Show them a warning if they dont have it enabled, and tell them to enable it on your site. Quote Link to comment https://forums.phpfreaks.com/topic/72437-reloading/#findComment-365291 Share on other sites More sharing options...
ToonMariner Posted October 9, 2007 Share Posted October 9, 2007 hmmm - this sounds like an ideal candidate for ajax - you need only update the content of element(s) that need updating instead of the whole page - which means that the form won't get trashed. Add a 'button' that reloads the page that the user can click if js is off and hey presto done and dusted. You should not use the meta refresh in this situation. Quote Link to comment https://forums.phpfreaks.com/topic/72437-reloading/#findComment-365312 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.