jquery源碼分析之jQuery事件綁定

當使用相似如下代碼時, $(function(){ $("#hr_three").click(function(event){ alert('阻止時間冒泡'); event.stopPropagation(); }); }); <form id="form1"> <div id="divOne" οnclick="alert('我是最外層');"> <div id=
相關文章
相關標籤/搜索