Vinay Kumar Chella Vinay Kumar Chella - 1 year ago 81
jQuery Question

Collapse all sections in accordian on page load in jQuery Accordian

I am using JQuery Accordian, I want to hide all the sections on page load. Only when user clicks on header that section should open. Can any one help me out..

Answer Source

Use this in your document ready function when initialising the accordion:

$("#someid").accordion({collapsible : true, active : 'none'});
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download