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?
$('#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
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
3 matches
Mail list logo