3

Does Internet Explorer 9 support the "form" attribute of the button tag? In particular, clicking the button in the following example submits the form in Firefox and Chrome, but does nothing in IE 9:

<form id="myform" action="/action" method="POST">
    <input type='hidden' name='foo' value='bar' />
</form>

<!-- Other content here, irrelevant for this example -->

<button form="myform">Click me</button>
Lorin Hochstein
  • 57,372
  • 31
  • 105
  • 141

1 Answers1

3

It is not supported in IE.

Unfortunatelty, the support for the button element has never been a priority among browser makers.

Edit: this question: <button> vs. <input type="button" />. Which to use? may be relevant, and the accepted answer has a link to a page telling why people avoid the button tag.

Community
  • 1
  • 1
Geeky Guy
  • 9,229
  • 4
  • 42
  • 62