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')  。

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章