--

Thanks, Will! I didn't get into that specific solution just because the article already was quite long.

You can prevent double transaction using server side validation.

As for why not disable the button, as well, I refer you to https://gomakethings.com/dont-disable-buttons-while-submitting-forms-with-ajax/.

That being said, of all the times that a button can be disabled, doing so when a page load event is underway is one of the least risky.

Thanks for the feedback!

--

--

Daniel Berryhill
Daniel Berryhill

Written by Daniel Berryhill

Web Developer, Accessibility Tester, QA, DHS Trusted Tester v5, Autism Dad - www.linkedin.com/in/daniel-b-7ab009226 - https://twitter.com/danielb_508

No responses yet