Re: [PHP] Confirmation Requester

2001-07-20 Thread Sheridan Saint-Michel
I Just wrote a page that does basic file management. For the Delete part I used function confirmSubmit() { var agree=confirm("Deleted Files Cannot Be Recovered. Are You Sure?"); if (agree) return true ; else return false ; } In my and In my form. I think that should do what you want.

RE: [PHP] Confirmation Requester

2001-07-19 Thread Ben Bleything
I'm not sure if this solution is not what you want to do or not... but what I've done is to essentially send information identifying the info to be deleted to another page (which you could pop up using jscript or target="_blank"), which has yes or no buttons. If you click the yes button, it does