⊗jqBsPCN 24 of 113 menu

Pseudo-class :not in jQuery

The pseudo-class not excludes those elements from those found that match the specified selector.

In the next task, let's get and color in red all the headings NOT with class zzz:

$(':headers:not(.zzz)').css('color', 'red');

Get and color red all headings NOT with class test.

Obtain and color red all h2 NOT with class test.

English
AfrikaansAzərbaycanБългарскиবাংলাБеларускаяČeštinaDanskDeutschΕλληνικάEspañolEestiSuomiFrançaisहिन्दीMagyarՀայերենIndonesiaItaliano日本語ქართულიҚазақ한국어КыргызчаLietuviųLatviešuМакедонскиMelayuမြန်မာNederlandsNorskPolskiPortuguêsRomânăРусскийසිංහලSlovenčinaSlovenščinaShqipСрпскиSrpskiSvenskaKiswahiliТоҷикӣไทยTürkmenTürkçeЎзбекOʻzbekTiếng Việt
We use cookies for website operation, analytics, and personalization. Data processing is carried out in accordance with the Privacy Policy.
accept all customize decline