H+关闭tab框

1:直接绑定类

/*关闭tab框,*/
function hideTab() {
//关闭等待层在关闭tab之前
$(".loading-box",parent.document).addClass('hide');
$(".active .fa-times-circle",parent.document).click();
}

2:关闭Tab 当前TAB
    function closeTab_Active() {
         $(".J_menuTab.active",window.top.document).find(".fa.fa-times-circle").click();      
    }
原文地址:https://www.cnblogs.com/chenlongsheng/p/10438827.html