In ASP.Net I am using an ImageButton
on click of which I am showing JavaScript
confirm
button like below:
<asp:ImageButton ID="imageButtonDelete" ImageUrl="~/Styles/images/delete.png" CommandArgument='<%#Eval("regionId") %>' OnClientClick="javascript:return confirm('Are you sure you want to delete?');" Text="Delete" CommandName="Delete" runat="server" Width="20px" Height="20px" />
However, in Chrome, the title of the alert box shows -
the page at localhost:1150 says
I don't want the page at...
text. How to change that?