[whatwg] Forms dont submit when disabling submit button
kaustubh at motorola.com
Wed Oct 12 23:39:36 PDT 2011
Reopening discussion. Just curious about what can be exact behavior expected
in this case?
I have attached the sample use case.
On Tue, Sep 27, 2011 at 11:35 PM, Kaustubh Atrawalkar <kaustubh at motorola.com
> A simple use case -
> <input type="submit" onclick="this.disabled=true; return true;">
> This does not submit the form in IE, Opera or Webkit but in firefox it does
> show alert. Considering generic behavior of HTML5 forms, until and unless
> submit button is active submit action should also be followed by onclick
> event on submit button. Just need to get what can be the exact behavior
> According to specs, (
> when button is activated, it should submit the form.
> Kaustubh Atrawalkar
More information about the whatwg