⊗jqDmSAR 39 of 113 menu

Reading a Single Attribute Property in jQuery

You can not only change the values ​​of attributes-properties, but also read them. For example, the input specifies the property disabled:

<input type="text" id="test" disabled>

We specify only the disabled property for the attribute, without boolean values:

alert($('#test').prop('disabled')); // will bring out 'true' - attribute is

Set all checked checkboxes to unchecked.

Set all unchecked checkboxes to checked.

Set all checked checkboxes to unchecked and vice versa.

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