when page open accordion closed how to open code example
Example 1: when page open accordion closed how to open
$(function(){
$(".accordion_header").click(function() {
$(".accordion_header").removeClass("active");
$(this).addClass("active");
});
$(".accordion_header:first").addClass("active");
});
Example 2: when page open accordion closed how to open
<div class="accordion_wrap">
<div class="accordion_header active">
<h5>INFO</h5>
</div>