form表单中button按钮发送请求或者刷新页面的解决办法
button的type属性IE默认为button类型,而谷歌等则默认为submit类型
在form表单内用到的button按钮必须要定义其type属性
<form> <button type="button">buttonbutton> <button type="submit">buttonbutton> <button>buttonbutton> form>
button的type属性IE默认为button类型,而谷歌等则默认为submit类型
在form表单内用到的button按钮必须要定义其type属性
<form> <button type="button">buttonbutton> <button type="submit">buttonbutton> <button>buttonbutton> form>