Javascript confirm before running the eventhandler, which deletes records from the databse
Posted
by Andreas Strandfelt
on Stack Overflow
See other posts from Stack Overflow
or by Andreas Strandfelt
Published on 2010-04-14T06:53:25Z
Indexed on
2010/04/14
7:03 UTC
Read the original article
Hit count: 562
Hi
I have button, which fires an event, that deletes a record from the database. This is the source of the button:
<asp:Button ID="btnDelete" runat="server" Text="Delete" onclick="btnDelete_Click" />
But how can I make a confirm box appear before the deletion?
© Stack Overflow or respective owner