0
I've used [classlist-add( ) ] but in another browser not allowed me to use which one it allowed for all browsers?
For javascript
3 Réponses
+ 1
can i see the code ?
+ 1
You can use element.className += " class" but I don't think classList isn't working :)
+ 1
r8w9 add()is incompatible in ie according to mdn,
maybe polyfill could help