jquery阻止a标签默认跳转 面包屑导航最后一个a标签 $(function(){ $('.breadcrumb li:last-child a').click(function(event){ event.preventDefault(); }); });