I'm trying to get a jQuery UI Accordion, with initially all divs collapsed.
The doc says
// getter
var active = $('#div0').accordion('option', 'active');
// setter
$('#div0').accordion('option', 'active', -1);
Neither of these was working in v1.7.2. The getter always returned null, and the setter had no effect.
I found this bug: http://dev.jqueryui.com/ticket/4576 , which included a fix for the getter.
But the setter still doesn't work.
Anyone have a fix for the setter?