The h3 isn't the last child. It's followed by a div.

- Richard

On Wed, Dec 9, 2009 at 12:30 AM, Bob Eastbrook <[email protected]>wrote:

> I can't set the "active" panel to be "last-child".  Shouldn't the
> following work?
>
>    $(function() {
>        $("#accordion").accordion({ active: "h3:last-child" });
>    });
>
> I'm just using the source from the demo site:
>
> http://jqueryui.com/demos/accordion/
>
> Thanks in advance,
> Bob
>
> --
>
> 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]<jquery-ui%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/jquery-ui?hl=en.
>
>
>

--

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.


Reply via email to