阻止form表单中的input按下回车时提交表单

给form加属性:onsubmit="return false;"

猜你喜欢

转载自www.cnblogs.com/-lizi/p/8994546.html
今日推荐