Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

remove class element

function myFunction() {
    var element = document.getElementById("myDIV");
    element.classList.remove("mystyle");
}
Source by www.javascripttutorial.net #
 
PREVIOUS NEXT
Tagged: #remove #class #element
ADD COMMENT
Topic
Name
9+2 =