在ie中,button默认的type是button,而其他浏览器和W3C标准中button默认的属性都是submit 所以需要要button自动提交表单的话就需要指定button的type="button"