On 8/14/07, Karl Swedberg <[EMAIL PROTECTED]> wrote:
>
>
> On Aug 13, 2007, at 7:35 PM, Joel Birch wrote:
>
> Also, to get all the li elements within the initial object, I used find()
> instead of children(). I'm a bit foggy on what the difference is at the
> moment, but find works me.
>
> The difference is that .find() looks for all descendants (children,
> grandchildren, great-granchildren, etc.), while .children() looks for just,
> well, children. :-)
>
> --Karl
>

Thanks for the reminder Karl. I'd use find here, personally. Eridius seems
to want to attach the plugin to a div, which can't contain li elements as
immediate children. Also, find() would allow for nested lists.

Joel.

Reply via email to