Kush Murod schrieb:
> Hi guys,
> 
> This works ok
> $('td').children().is('img :[EMAIL PROTECTED]')
> 
> Having said that I assumed I could also achieve same result by doing this
> $('td').children('img :[EMAIL PROTECTED]') and expected the same result, 
> but not
> 
> Can anyone clarify this.
> 
> --kush

is() returns true/false, so it is something different than using children()

I'd simplify that anyway:

$('td').children('[EMAIL PROTECTED]')

or even:

$('td>[EMAIL PROTECTED]')


-- Klaus

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to