Dysan Posted December 29, 2007 Share Posted December 29, 2007 How do I navigate to a different page, if JavaScript is disabled? <noscript></noscript> Quote Link to comment https://forums.phpfreaks.com/topic/83532-navigate-to-a-diffrent-page/ Share on other sites More sharing options...
revraz Posted December 29, 2007 Share Posted December 29, 2007 meta http-equiv="refresh" tag or php header. Quote Link to comment https://forums.phpfreaks.com/topic/83532-navigate-to-a-diffrent-page/#findComment-425004 Share on other sites More sharing options...
Dysan Posted December 29, 2007 Author Share Posted December 29, 2007 how do I use the PHP header, if JavaScript is detected as disabled? <noscript></noscript> Quote Link to comment https://forums.phpfreaks.com/topic/83532-navigate-to-a-diffrent-page/#findComment-425019 Share on other sites More sharing options...
AndyB Posted December 29, 2007 Share Posted December 29, 2007 How do I navigate to a different page, if JavaScript is disabled? Same as if javascript is enabled, you navigate by clicking a link. how do I use the PHP header, if JavaScript is detected as disabled? Javascript is detected by code running on the client computer. PHP runs on the server. Rather those pose half a question, why not ask all of your question and/or provide context? Quote Link to comment https://forums.phpfreaks.com/topic/83532-navigate-to-a-diffrent-page/#findComment-425037 Share on other sites More sharing options...
Dysan Posted December 29, 2007 Author Share Posted December 29, 2007 Basically, I want to display a record deletion confirmation div. Upon a delete button being click, to delete records from a table, I want to display a div contain "Yes" and "No" buttons, to allow the user to confirm his/her action. If JavaScript is turned of, how do I navigate to a different page, that contains "Yes" and "No" buttons. Like in the div, clicking on the "Yes" button will delete the records, and return back to the previous screen, where as clicking "No" will just return back to the previous screen. Hope this makes it a bit more clearer on what I'm trying to do!!! Quote Link to comment https://forums.phpfreaks.com/topic/83532-navigate-to-a-diffrent-page/#findComment-425050 Share on other sites More sharing options...
MadTechie Posted December 29, 2007 Share Posted December 29, 2007 well if javascript is disabled then your need to refesh the page, so the next page would be the confirmation page..! Quote Link to comment https://forums.phpfreaks.com/topic/83532-navigate-to-a-diffrent-page/#findComment-425053 Share on other sites More sharing options...
Dysan Posted December 29, 2007 Author Share Posted December 29, 2007 well if JavaScript is disabled then your need to refresh the page, so the next page would be the confirmation page..! What? That doesn't make sense. What do you mean? Quote Link to comment https://forums.phpfreaks.com/topic/83532-navigate-to-a-diffrent-page/#findComment-425368 Share on other sites More sharing options...
MadTechie Posted December 29, 2007 Share Posted December 29, 2007 okay.. how are you planning to display the confirmation page? Quote Link to comment https://forums.phpfreaks.com/topic/83532-navigate-to-a-diffrent-page/#findComment-425370 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.