[UPHPU] Playing with javascript
Daniel C.
dcrookston at gmail.com
Thu Apr 12 11:36:44 MDT 2007
On 4/12/07, Orson Jones <orson.uphpu at bookstore.usu.edu> wrote:
> Last time I was on PayPal, I noticed that their pay button would disable itself after you clicked, so people wouldn't accidentally click it twice while waiting for it to go through.
You don't need JavaScript for this. Just give the form some kind of
unique identifier. Then when it's being processed, check to see if
the form with that ID has been processed already. If it has, they
double clicked.
More information about the UPHPU
mailing list