May 23, 2024
Thanks, Manchuck!
That may prevent the double-clicking issue - and as issues with disabled buttons go, since the page is on its way out (likely redirecting to some "Thank you for purchasing..." page), this is far less risky than just keeping a button disabled on a page.
But, even leaving accessibility out of it, you should probably look into a prevention mechanism in the code-behind instead of relying solely on JavaScript.
Thanks again!