需要合作伙伴联系我,VX(绿泡泡): w6668263      email:ye583025823@126.com

2012年5月15日

div内的button的click会触发两次(防止事件冒泡)

摘要: <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>阻止事件冒泡 </title> <script type="text/javascript"> function SayHello(e) { alert("Hello World"); e = window.event || e; if (e.stopPropagation) { ... 阅读全文

posted @ 2012-05-15 09:22 龙行龘龘9527 阅读(7191) 评论(1) 推荐(0) 编辑

导航