views:

38

answers:

1

Hello I am using jQuery UI Accodions

By default, the first accordion is shown and other are hidden. I would like to hide all the accordions by default until the user clicks it.

How do I do that ?

Thank You

+2  A: 

This code should accomplish this

$( ".selector" ).accordion({ active: false });
Henrik P. Hessel