jquery阻止a标签默认跳转 面包屑导航最后一个a标签

$(function(){
$('.breadcrumb li:last-child a').click(function(event){
event.preventDefault();
});
});

原文地址:https://www.cnblogs.com/SherryLovesCode/p/6633170.html