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

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

 

posted @ 2018-05-05 13:56  举个丽子  阅读(336)  评论(0)    收藏  举报