101
rated 0 times
[
108]
[
7]
/ answers: 1 / hits: 18518
/ 12 Years ago, mon, december 3, 2012, 12:00:00
I originally wanted a submit to take place on a single click event:
$(#booking_Form #submit_Booking).bind(click, function(event){.....
I then found (obviously) that a double click led to a duplicate submission.
So I tried capturing and suppressing this with:
$(#booking_Form #submit_Booking).bind(dblclick, function(event){
return false;
});
But the single click event still fired twice.
Am I correct it thinking that if it is imperative that a double click does not submit twice that I must change the single click event to a double click event.
Or is there some global way to switch off double clicks.
More From » jquery