I have wrapped a couple of divs inside, jQuery Accordian.
JS Code:
function MakeAccordian() {
jQuery("#accordian").accordion(
{
heightStyle: "content",
collapsible: true
});
}
Where accordian is the id of parent div.
At runtime, how can I expand/collapse div section inside accodion.
Here is the API documentation. Basically you change the active option:
Setting
activetofalsewould collapse all panels but requires collapsible to be true.