Try

$(this).find(":first-child")

You need a jQuery-wrapped object *before* you can apply a jQuery
selector to it.

**--**  Steve

On Jan 19, 10:47 am, Bas <[email protected]> wrote:
> why is this not working?
>
> $(this:first-child)
-- 
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