2
Answers

confirm box in asp.net

Rajavel G

Rajavel G

7y
555
1
function confirm()
{
if (window.confirm("Press a button!") == true) {
return false;
} else {
return false;
}
}
 
 
<asp:Button ID="btnnext" Text="Submit Test" Height="39px" runat="server" OnClientClick="return confirm();" OnClick="btnnext_Click" />
 
 
 i have a error on not available confirm. 
 
Answers (2)