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 <baconeater...@gmail.com>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 jquery...@googlegroups.com.
> To unsubscribe from this group, send email to
> jquery-ui+unsubscr...@googlegroups.com<jquery-ui%2bunsubscr...@googlegroups.com>
> .
> 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 jquery...@googlegroups.com.
To unsubscribe from this group, send email to 
jquery-ui+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en.


Reply via email to