This is a discussion on Java popup within a php script??? within the alt.comp.lang.php forums, part of the PHP Programming Forums category; Hey all, I want to add a Java Alert to ask the user if they are sure they want to ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hey all,
I want to add a Java Alert to ask the user if they are sure they want to Delete some data from the DB. Has anyone done this. I can get the alert to come up but I want my php script to get the result of true or false (ok or cancel) Thanks -- Eric |
|
|||
|
"Eric Haskins" <hostmaster_s_p_a_m@rackspeed.net> wrote in message news:ijyvc.75767$Ol3.71465@twister.tampabay.rr.com ... > I want to add a Java Alert to ask the user if they are sure they want to > Delete some data from the DB. No you don't, you want a JavaScript alert. > Has anyone done this. I can get the alert to > come up but I want my php script to get the result of true or false (ok or > cancel) > <form onsubmit="return confirm('Continue?')"> ... </form> JW |
|
|||
|
Dnia Thu, 03 Jun 2004 05:04:14 GMT, Eric Haskins napisał(a):
> Hey all, > > I want to add a Java Alert to ask the user if they are sure they want to > Delete some data from the DB. Has anyone done this. I can get the alert to > come up but I want my php script to get the result of true or false (ok or > cancel) Are you sure you didn't confuse Java and Javascript?? Anyway try to take a look at the html source file and then generate such a source file with php. |