会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
junxizai
博客园
首页
新随笔
联系
管理
订阅
2014年5月20日
js 阻止事件冒泡
摘要: 阻止事件冒泡函数var stopEvent = function(event){ e = event || window.event; if(e.stopPropagation){ e.stopPropagation(); }else { e.cancelBubble = true; } };
阅读全文
posted @ 2014-05-20 10:20 junxizai
阅读(111)
评论(0)
推荐(0)
编辑
公告