function noshows(){
var noshows=true;
$(".somediv a").each(function(){
if($(this).css('display')!='none'){noshows = false}
})
return noshows;
};
前端-使用jquery.each()遍历判断所有特定子元素是否具有某一个共性
猜你喜欢
转载自blog.csdn.net/weixin_41395648/article/details/84329900
今日推荐
周排行