H Bellamy H Bellamy - 7 months ago 18
Javascript Question

JQUERY UI Accordion start collapsed

How can I make the jquery UI accordion start collapsed when the form loads. Is there any javascript code for this?

Answer

In your options specify:

{
  ...
  active: false,
  collapsible: true,
  ...
}

See documentation for active.