Disabling SUBMIT button to prevent multiple clicks.
Posted on 2007-10-17
I have a .NET applicataion form that is called form a Master page. The application's SUBMIT button needs to NOT allow multiple clicks.
I have tried this in the Page_Load event and verified it's added:
btnSubmit.Attributes.Add("onSubmit", "this.disabled=true;this.value='Please wait...';this.form.submit()");
but it's still allowing multiple clicks and multiple submissions.