return flase 作用

调用return false的时候,他实际上做了三件事

 
event.preventDefault();     禁止默认行为
 
event.stopPropagation();   阻止冒泡
 
停止回调函数执行并立即返回。
原文地址:https://www.cnblogs.com/chuangweili/p/5163699.html