假如我一个div;里面有三个节点 ;现在我要用jq来判断节点样式名为class的节点是否存在
怎么判断
判断$('div').is('.className')是否为true。
2.1m questions
2.1m answers
60 comments
56.8k users