的HTML5表单属性的Internet Explorer问题存在表单属性。基本上HTML5中的按钮元素
<form id="myform" method="get" action="something.jsp">
<input type="text" name="name" />
</form>
<input type="submit" form="myform" />
以上代码在IE中不起作用。 任何人都可以帮助我解决这个问题。
我已经使用了下面的javascript和jQuery来提交表单,但是我面对的是Ajax问题。 我的页面正在重新加载。
document.getElementById("myForm").submit();
$("#myForm").submit();
我该如何提交我的表单,我的页面不应该加载。 我正在使用Anguler JS Ajax。
的可能重复的[任意的方式支持在IE10 /垫片按钮形式属性?](http://stackoverflow.com/questions/16694195/any-way-to-support-shim-button -form-attribute-in-ie10) –
正如答案所示,IE不支持这一点。但你可以投票改变:https://wpdev.uservoice.com/forums/257854-microsoft-edge-developer/suggestions/7327649-add-support-for-the-form-attribute – jmoreno
可能的重复[polyfill html5输入“表单”属性](http://stackoverflow.com/questions/17742275/polyfill-html5-input-form-attribute) – taber