Internet Explorer issue with HTML5 form attribute for button element

前端 未结 6 1568
不知归路
不知归路 2020-12-29 09:18

in HTML5, there is the form attribute. Basically

6条回答
  •  我在风中等你
    2020-12-29 09:22

    As far as I can tell, Internet Explorer does not (up to IE10, at least) support the form attribute.

    You can either polyfill this in javascript, or move the input to sit inside the relevant form. This has already been answered elsewhere though: https://stackoverflow.com/a/16694990/13019

提交回复
热议问题