[jQuery] Re: Problem with parent('td').parent('tr').$('td').length

2008-04-01 Thread Jason Huck
Any of these should do the trick: $('#inp').parent().parent().find('td').size(); $('#inp').parents('tr').find('td').size(); $('#inp').parents('tr').children().size(); $('#inp').parent().siblings().size() + 1; - jason On Apr 1, 6:13 am, Emil Zegers [EMAIL PROTECTED] wrote: Hello, I have

[jQuery] Re: Problem with parent('td').parent('tr').$('td').length

2008-04-01 Thread emilz
Thanks Jason for your input, it works now.