本文共 296 字,大约阅读时间需要 1 分钟。
function checkfxjg() { if(tbtime == null || tbtime ==""){ $(".tabs-title").each(function () { if($(this).html() == "水浒传"){ $(this).parent().parent().remove(); } }) } }
根据class .tabs-title 获取所有使用该class的标签 并且遍历
转载地址:http://yczun.baihongyu.com/