Hi,
I'm trying to prevent the user of double clicking on a submit button.
I have been looking arround for the solution but still can't get it to work.
What I have so far is:
btVerplaatsen.Attributes.Add("onclick", " this.disabled = true;this.disabled=true;this.value='Submitting...';this.form.submit(); " + ClientScript.GetPostBackEventReference(btVerplaatsen, "submit") + ";")
Now when the user clicks on the button it is diabled and the page,load event is fired. But it does not fire the buttons click event.
I tried to see if I could detect the "Submit" text somewhere in the page.load event, so I could use an IF-THEN to fire the buttons event manually, but no luck so far.
How can I get the buttons click event fired and at the same time block double clicks on this button?
rg,
Eric& ...
Go to the complete details ...