Vinay Kumar Chella Vinay Kumar Chella - 8 months ago 46
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..


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

$("#someid").accordion({collapsible : true, active : 'none'});