I have zero idea if this is the "best" way to do it, in fact i really
doubt it is, but it will work :-)
var CurrentIdx = $("#accordion h3").index($("#accordion h3.ui-state-
active"));
alert(CurrentIdx);
On Mar 31, 6:55 am, "Mountain/\\Ash" <[email protected]> wrote:
> I second this.
>
> Using $('#accordion').accordion('option', 'active'); always returns
> 'null' for me aswell. Is this a bug or is it me using it incorrectly?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---