how can i create a dialog box in php with javascipt disabled
Posted: Tue Jun 13, 2006 7:54 am
Hi all,
This is my first post ... so please forgive me if I'm asking this all wrong.
I am a work term student who just got introduced to coding with PHP. I am presently working on developing a basic electronic filing project.
On some of my webpages I have a "quit button" which when clicked on by the user should bring up a dialog box confirming that the user wants to quit that page. I know how to do this using Javascripts however my supervisor says to find a way to not use javascript because it is not supported by all browsers and some users disable it.
My question: Is it possible to create a dialog/alert box with just php codes? Or is it possible to still go ahead and use the Javascript while taking care of the above mentioned problems.
Thanks for your anticipated help.
This is my first post ... so please forgive me if I'm asking this all wrong.
I am a work term student who just got introduced to coding with PHP. I am presently working on developing a basic electronic filing project.
On some of my webpages I have a "quit button" which when clicked on by the user should bring up a dialog box confirming that the user wants to quit that page. I know how to do this using Javascripts however my supervisor says to find a way to not use javascript because it is not supported by all browsers and some users disable it.
My question: Is it possible to create a dialog/alert box with just php codes? Or is it possible to still go ahead and use the Javascript while taking care of the above mentioned problems.
Thanks for your anticipated help.