csiwa28
Programmer
- Apr 12, 2001
- 177
Hi everyone,
I have an asp page that displays all my records from an Access database. After each record, I have a delete button. That delete button has the following form action:
Response.write "<form action='removeitem.asp?PRODUCT_ID=" & GetRecord("Product_ID"
& "' method=post>"
NOTE:
The PRODUCT_ID will always be different for each item.
GetRecord("Product_ID"
pulls the item's product id from the database.
My question is, when a user clicks on the delete button, how do i have an alert/message box[(OK/Cancel),(Yes/NO), etc]. When the user clicks yes, it'll process the form action and when they click no, it'll do nothing?
I have an asp page that displays all my records from an Access database. After each record, I have a delete button. That delete button has the following form action:
Response.write "<form action='removeitem.asp?PRODUCT_ID=" & GetRecord("Product_ID"
NOTE:
The PRODUCT_ID will always be different for each item.
GetRecord("Product_ID"
My question is, when a user clicks on the delete button, how do i have an alert/message box[(OK/Cancel),(Yes/NO), etc]. When the user clicks yes, it'll process the form action and when they click no, it'll do nothing?