js事件冒泡與阻止冒泡

<div id="dv"> <div id="dv1"> <div id="dv2"></div> </div> </div> </body> <script> function mm(id){ return document.getElementById(id); } //事件冒泡 mm("dv").onclick=function(e
相關文章
相關標籤/搜索