Answers for "how to add and remove css classses in js"

7

javascript remoev css class

//remove a css class from an element
document.getElementById("myElementID").classList.remove("class_name");
Posted by: Guest on July-31-2019
16

javascript remoev css class

//remove a css class from an element
document.getElementById("itemID").classList.remove("class_name");
Posted by: Guest on February-12-2021

Code answers related to "how to add and remove css classses in js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language