你好我想停止父事件,当我点击子链接时触发。这里是我的代码:阻止父事件jquery
$('.list_row_inputtype').on('click',function(event) {
$(this).find('a.link_to_fire').click();
event.stopPropagation();
return false;
});
<div class="list_row_input_type unread">
<a href="#" onclick="toogleRead(); return false;" class="toogleRead"></a>
<a href="{corePath}/mails" class="link_to_fire">{emailLink}</a>
<div class="description"></div>
</div>
当我点击“.toogleRead”它火的功能,但更改为{} corePath /邮件页面。我想阻止它改变页面。