Linked Questions

1 vote
3 answers
2k views

Is there posisble to prevent user from clicking twice in input tag button type submit? I have tried ondblclick="javascript:void(0)" But its not working Mine is in a Html.BeginForm not a form element ...
Hanna Persson's user avatar
-2 votes
1 answer
1k views

i want to prevent my users from double clicking on submit button. Can some one tell me how to prevent it for & in HTML
user2782717's user avatar
61 votes
21 answers
303k views

I have following jQuery code to prevent double clicking a button. It works fine. I am using Page_ClientValidate() to ensure that the double click is prevented only if the page is valid. [If there are ...
LCJ's user avatar
  • 22.8k
37 votes
16 answers
60k views

How would I disable all links with the button class after they are clicked once? I'd like to be able to do this in one place, and not have to change all of them individually.. any ideas? So far I got ...
cloudhead's user avatar
  • 15.4k
37 votes
11 answers
79k views

I have a form post that consistently gives me an anti-forgery token error. Here is my form: @using (Html.BeginForm()) { @Html.AntiForgeryToken() @Html.EditorFor(m => m.Email) @Html....
Jerad Rose's user avatar
  • 15.5k
17 votes
14 answers
77k views

I have a submit button in my page. Sometimes when I double click it double submits obviously, and the problem is that I'm saving the information in the database so I'll have duplicate information ...
sireesha j's user avatar
26 votes
7 answers
36k views

I would like to see how Web Developers avoid the double submission problem. So basically my understanding of the problem is as follows: Double submission occurs when an impatient user submits a form ...
JHarley1's user avatar
  • 2,132
23 votes
3 answers
42k views

What's the best way of avoiding duplicate form submission in Spring. Does this framework provide any special feature to handle this problem (for example as the Synchronizer Token in Struts)?
Javi's user avatar
  • 19.9k
25 votes
2 answers
25k views

I want to protect our login actions by AntiforgeryToken attribute - I know why the exception from the topic occurs, however I can't seem to find any good solution for it. Let say we have the ...
user2384366's user avatar
  • 1,072
4 votes
3 answers
8k views

I'm working on a a form with Symfony2. I have some entity fields and a csrf token that is correctly rendered thanks to {{ form_rest(myform) }}. The problem is : User fills the form and clicks on the ...
Bil5's user avatar
  • 502
2 votes
3 answers
15k views

I want to prevent double click on submit button. My code is... onclick='this.style.visibility = "hidden";' But it also hidden if i enter wrong entry. I want to disable button on double click but ...
TK91's user avatar
  • 33
9 votes
5 answers
3k views

I am trying to fix a form double submit by disabling the submit button temporarily and changing the submit button value to "processing..." so the user knows what is going on. The disable works ...
Robert's user avatar
  • 241
6 votes
4 answers
10k views

Sounds like a simple question. I've added a bit of jQuery magic: $("#edit-save").click(function(event) { $(this).attr("disabled", "true"); }); However, once this is in place, my form submit handler ...
Mark B's user avatar
  • 4,968
6 votes
2 answers
5k views

According to the ASP.Net Core docs, the behaviour of the session state has changed in that it is now non-locking: Session state is non-locking. If two requests simultaneously attempt to modify the ...
harman_kardon's user avatar
2 votes
4 answers
4k views

JSfiddle : CODE I was trying to send the info with POST; then I added this code to disable the button after submitting one time: $('form').submit(function(){ $('input[type=submit]', this)...
Abude's user avatar
  • 2,162

15 30 50 per page