Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to confirm a delete command from an ASP page

Status
Not open for further replies.

Dandruff

Programmer
Apr 20, 2000
1
GB
Hi,<br><br>&nbsp;&nbsp;&nbsp;&nbsp;I have an ASP page that users can search for records and then either edit or delete a record. I would like to know if it is possible - and if so how, I can confirm a delete process with a message box. e.g. when they click on a link to delete a record this fires off a message window that asks &quot;are you sure you want to delete that record yes/no?&quot;. On yes it performs the SQL statement, on no I don't want it to do anything.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;Thanks in advance for any help. Dan.
 
Hi,<br><br>You need to write the confirmation in Java (Client site)<br><br>function rusure()<br>{<br>&nbsp;&nbsp;&nbsp;&nbsp;ret = confirm(
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top