摘要: 阻止事件冒泡 在html中触发的事件会往上冒泡,直到最上层.比如Click me, twice alert源码:<div onclick="alert('div is clicked')"><a onclick="alert('a is clicked'); return false;" href="#">Click me, twice alert</a><... 阅读全文
posted @ 2010-01-05 07:28 阿C's 阅读(337) 评论(0) 推荐(0)