标签:one ati function play trap bootstra select a标签 none
function change_active(select_item){ $(‘.mail-navigation‘).find(‘li‘).each(function(){ $(this).removeClass("active"); }) select_item.parent().addClass("active"); }
传入的为 a标签中触发点击的点击事件的 $(this)
标签:one ati function play trap bootstra select a标签 none
原文地址:https://www.cnblogs.com/huim/p/9601087.html