[accordion] Accordion("activate") not working with id string

[accordion] Accordion("activate") not working with id string


Hi - I am trying to activate an accordion item based on its id rather
than a numerical index, and I'm not having any luck - is there a trick
to it?
For instance, I have an accordion item like so:
<a class="ui-accordion-header accItem" id="bb" href="#">Blackboard</a>
And later I call:
$("#accordion").accordion("activate","bb");
But the activate command doesn't seem to happen