摘要: 阻止冒泡 W3C的方法是e.stopPropagation() IE是e.cancelBubble = true; 阻止默认行为 W3C的方法e.preventDefault(), IE是e.returnValue=false return false 原生js的return false只会阻止默认 阅读全文
posted @ 2017-12-13 22:58 懒懒同学不懒 阅读(163) 评论(0) 推荐(0) 编辑