jquery阻止事件冒泡 点击

来源:互联网 发布:数据库课程 编辑:程序博客网 时间:2024/06/16 09:22
<script>  $("#firstList h3.menu_head a").bind("click",function(event){    event.stopPropagation(); //点击#firstList h3.menu_head a 里面的<a>标签时不触发该<a>标签外层的其他方法,只执行<a>标签click所触发的方法});</script>


0 0