You select the header-element, eg. "h3:first" to activate the first header.
Jörn On Wed, Aug 19, 2009 at 3:12 PM, MarcusX<[email protected]> wrote: > > Hi! > > In the jQuery UI documentation > http://jqueryui.com/demos/accordion/#method-activate > it says: > > Activate a content part of the Accordion programmatically. The index > can be a zero-indexed number to match the position of the header to > close or a Selector matching an element. Pass false... > > I wanted to use an selector instead of an index number, but what will > I have to select? I tried to select an element in the header of the > panel I want to open, but only got an error. Can anyone supply an > example of activating an accordion with a selector? > > Thanks an regards > marcus > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
