richarddunnebsc
Active Coder
How do I toggle a classname in a multi-class div?
In the head section:
In the head section:
HTML:
<div class="row none" id="DivId">
..........
</div>
CSS:
.row.none{display: none;}
.row.flex{display: flex;}
JavaScript:
var Id = $("#DivId").classList;
Id.addClass("flex").removeClass("none");