Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js toggle class

   element.classList.toggle('class');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #toggle #class
ADD COMMENT
Topic
Name
3+8 =