block form submit by javascripthttp://forums.asp.net/t/383085.aspx/1?block+form+submit+by+javascriptMon, 03 Nov 2003 04:15:39 -0500383085383085http://forums.asp.net/p/383085/383085.aspx/1?block+form+submit+by+javascriptblock form submit by javascript I have a web form . with runat= server have some textboxx web contrils and asp:Button to submit the form. I want to ask user when button is clicked that eith he want to submit information or not. if user click no/cancel that form must not be submitted. thanks waiting ... 2003-11-03T03:58:22-05:00383090http://forums.asp.net/p/383085/383090.aspx/1?Re+block+form+submit+by+javascriptRe: block form submit by javascript sure. use the client-side onsubmit event <form onsubmit="return confirm('do you really want to submit this form? really?')"> 2003-11-03T04:04:12-05:00