[jQuery] Re: How to select a specific descendant of curent object

2008-09-09 Thread Ca-Phun Ung
Glen Lipka wrote: Wouldnt this work too? $(#box .grandchild). Yes but if you read the original question you'd see why I gave that particular solution: so is there a travesting method, or any other method which could select any descendant of curent element?

[jQuery] Re: How to select a specific descendant of curent object

2008-09-08 Thread Ca-Phun Ung
$('#box').find('.grandchild'); Greeg wrote: div id=box span class=child span class=grandchildhi grandma/span /span /div my question is how reach the .grandchild from .box? in theory, i can just use selector $(#box .grandchild) but this is not much handy when you already have

[jQuery] Re: How to select a specific descendant of curent object

2008-09-08 Thread Glen Lipka
Wouldnt this work too?$(#box .grandchild). Glen On Mon, Sep 8, 2008 at 8:27 AM, Ca-Phun Ung [EMAIL PROTECTED] wrote: $('#box').find('.grandchild'); Greeg wrote: div id=box span class=child span class=grandchildhi grandma/span /span /div my question is how reach the