php - Accordion Force Open Tab -
i have accordian on php script 4 tabs. want add conditional clause determine 1 open begin. currrently, none of them start out open.
<https://jsfiddle.net/9cqo3s73/3/>
you can simulate click
in tab want open @ begining. this:
$('.accordion-section-title:eq(0)').click(); // can eq(0), eq(1) or eq(2)
Comments
Post a Comment