移除 html form 表单默认回车提交事件


如下代码,只需要在form表单内,添加一个空input元素即可;




<input type="text" style="display:none" />