我可以找到一个具有如下属性的div:
$('.funding-plan-container[data-timestamp]')
But if I try to find a div that does not have that attribute, I get an error - my code is:
$('.funding-plan-container[!data-timestamp]')
jQuery中是否有"没有属性" Select 器?
作为参考,这里的用例是,没有时间戳属性的任何div都不会动态添加,因此非常有用.
谢谢