jq 判断某个dom节点是否存在

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/eddy23513/article/details/81939389
console.dir(samesitecommondata.find('.ebay_category_attribute_template_list'));

这里写图片描述

所以判断
length 是否为0就好了

猜你喜欢

转载自blog.csdn.net/eddy23513/article/details/81939389