Internet Explorer issue with HTML5 form attribute for button element

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

in HTML5, there is the form attribute. Basically

6条回答
  •  情话喂你
    2020-12-29 09:35

    Well, IE basically does not support form attribute in input, but you could use javascript to submit your form:

    document.getElementById("myForm").submit();
    

    or jQuery

    $("#myForm").submit();
    

提交回复
热议问题