[whatwg] [Input type=submit] "Disable" after submitting

Hi all,

Bit of a crazy subject, but let me enlighten:

Currently the submit button is used to submit a form once (more than average purpose). In some occassions it's possible to submit a form twice, and get it processed twice by the webserver, resulting in a double submit (e.g. forum post). For this specific example, it isn't desired bahavior.

Should there be a way to prevent a (submit) button in HTML to be clicked more than once or is this clearly a behavior (and therefore be solved with JS)?


Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20100126/8ac131d9/attachment.htm>

Received on Tuesday, 26 January 2010 02:20:20 UTC