标签:
# JavaScript Tips
--------------------------
1. return false
- event.preventDefault(); //阻止默认行为 P.S 阻止a标签的跳转
- event.stopPropagation(); //阻止事件冒泡
JavaScript Tips
原文地址:http://www.cnblogs.com/zhaoww/p/5246346.html