How To Avoid Disable Anchors On Button Click In Javascript

how to avoid disable anchors on button click in javascript

how to stop JavaScript window reloading when each time
Disabling the Submit Button to Prevent Double Form Submission December 21st, 2010 - Posted by Steve Marks to Javascript / jQuery , Web Development . Whether it be due to a users lack of tech know-how or a twitch of the finger, a secondary click of a forms ‘Submit’ button could result in the form being submitted twice.... A non-actionable or meaningless href is applied to the anchor element so that the user isn't navigated away from the page, and JavaScript is used to hijack the click event for the link. But there's actually an HTML element for this behaviour - the