Prevent double submit with jQuery

Posted on Tue 16 September 2008 in jQuery • Tagged with javascript, jquery, submitLeave a comment

Another great "little" solution with jQuery. Needed a simple way to protect all the forms on our site from being double submitted. There was an attempted solution in place on our app, that added an onsubmit to every form with a function above it called ignoreDoubleSubmit that tried to trap ...

Continue reading

Default html button submit on enter with JQuery

Posted on Thu 24 April 2008 in jQuery • Tagged with html, jquery, submitLeave a comment

I basically needed the update button to be the default action on clicking enter in the form, but there were multiple submit buttons in my form and they weren't in the order I needed due to UI design. This was a quick and dirty solution to select an html ...

Continue reading