Hi everyone! I'm the author of code.mu :)
I'd love to chat with my non-Russian audience. I'm looking for your feedback on the site and the translation quality. Let's chat:)
5 of 119 menu

Metoda removeAttr

Metoda removeAttr heq atributet e elementeve.

Sintaksa

$(selector).removeAttr(emri i atributit);

Shembull

Le të heqim atributin value nga inputi:

<input type="text" value="!!!" id="test"> $('#test').removeAttr('value');

Kodi HTML do të duket kështu:

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

Shihni gjithashtu

  • metoda attr,
    e cila lejon marrjen dhe ndryshimin e atributeve të elementeve
  • metoda prop,
    e cila lejon punën me vetitë e elementeve
  • metoda removeProp,
    e cila lejon heqjen e vetive të elementeve
Shqip
AfrikaansAzərbaycanБългарскиবাংলাБеларускаяČeštinaDanskDeutschΕλληνικάEnglishEspañolEestiSuomiFrançaisहिन्दीMagyarՀայերենIndonesiaItaliano日本語ქართულიҚазақ한국어КыргызчаLietuviųLatviešuМакедонскиMelayuမြန်မာNederlandsNorskPolskiPortuguêsRomânăРусскийසිංහලSlovenčinaSlovenščinaСрпскиSrpskiSvenskaKiswahiliТоҷикӣไทยTürkmenTürkçeЎзбекOʻzbekTiếng Việt
Ne përdorim cookie për funksionimin e sajtit, analizën dhe personalizimin. Përpunimi i të dhënave bëhet në përputhje me Politikën e Privatësisë.
prano të gjitha konfiguro refuzo