jsedom:working_with_restricted_attributes
La dot notation n'est pas toujours facile en raison des mots réservés par js (ex class for etc.)
Autres solutions :
- node.getAttribute(<nom de l'attribut>)
- node.setAttribute(<nom>,<valeur>)
- node.hasAttribute(<nom>)
- node.removeAttribute(<nom>)
jsedom/working_with_restricted_attributes.txt · Last modified: 2016/03/09 11:59 by leo