我要停止从孩子到父母的事件传播,我有一堆li包含a.
li
a
$('li a[rel=close]').live('click', function(e){ e.stopPropagation(); e.preventDefault(); })
但它并没有停止事件。有什么建议吗?
jquery events propagation stoppropagation
events ×1
jquery ×1
propagation ×1
stoppropagation ×1