Page 1 of 1

Alerting a (yes or no) option before deleting?

Posted: Wed Feb 14, 2007 9:06 pm
by NEWDAY
Hello everybody...

I'm asking if there is a way to alert a message box containing (Yes and No) when a user clicks on an html submit button that performs a deleting operation, and cancels the operation if he chooses (No) otherwise if he chooses (Yes) it performs the operation?

Posted: Wed Feb 14, 2007 10:09 pm
by Kieran Huggins
you want to use javascript's "confirm" method - search these forums, there was an example about a week ago

Posted: Fri Feb 16, 2007 2:31 pm
by visitor-Q