jquery不包含某个类?

1 、$('li').not(':even').css('background-color', 'red');  


Js代码  

1、 $('li').not(document.getElementById('notli'))  

2  、 .css('background-color', 'red');  


Js代码  

1、 $("div").not(".green, #blueone")  

2 、          .css("border-color", "red");  


Js代码  

1 、Example: Removes the element with the ID "selected" from the set of all paragraphs.  

2、 $("p").not( $("#selected")[0] )  。

3 、Example: Removes the element with the ID "selected" from the set of all paragraphs.  

4 、$("p").not("#selected")  。

5 、Example: Removes all elements that match "div p.selected" from the total set of all paragraphs.  

6 、$("p").not($("div p.selected"))  。


Js代码  

1、 $("#reset").click(function() {  。

2 、  $(':input','#fundingpossibility')  。

 

posted @ 2021-09-02 18:43  冲向蓝天  阅读(340)  评论(0编辑  收藏  举报