最近遇到一次处理form数据的过滤,采用了button的onclick事件来检查,发现return false后表单仍然提交了. 于是仔细研究了下onclick.onsubmit.submit集合函数之间的关系和区别 onsubmit: You can override this event by returning false in the event handler. Use this capability to validate data on the client side to pre