html button自动提交表单问题

在ie中,button默认的type是button,而其他浏览器和W3C标准中button默认的属性都是submit,所以在chrome中,需要使用<button type="button"></button>。
posted @ 2016-10-20 11:59  zhjh256  阅读(286)  评论(0编辑  收藏  举报