[jQuery] Re: Question on filter()

2009-06-11 Thread TimW66
Never mind, figured out the issue. the "return" statement has a call that will look for label inside of the parent, not look at the parent itself. If I want to look at the parent, I'll have to use "$(this).is ('label')". Sorry for the clutter! On Jun 11, 12:11 pm, TimW66 wrote: > Hi all, I ha

[jQuery] Re: Question on filter()

2009-06-11 Thread Andy Matthews
Parent is the DOM node which contains the targeted element. So in your example td would be the parent of input. Label would be a sibling of input, or you could use the prev('label') method if you wanted to target the label element. -Original Message- From: jquery-en@googlegroups.com [ma