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) 

demo: https://jsfiddle.net/lmgonzalves/9cqo3s73/4/


Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

c# - Exception when attempting to modify Dictionary -