Re: Using $$ within an element.

Mark Holton
Sun, 03 Jun 2007 09:23:16 -0000

Wild.  ...can I trouble you for a short explanation on that, Chris?
Many thanks
Mark

On 6/3/07, Christophe Porteneuve
<tdd-x+CfDp/qHev2eFz/2MeuCQ@public.gmane.org>
wrote:
>
>
> Daniel Eben Elmore a écrit :
> > I need to grab $(''box'').firstDescendant() then use
$$(''a.tooltip'') on
> that
> > element.
>
> How about:
>
>         $$(''#box > *:first-child a.tooltip'')
>
> Otherwise, you can go:
>
>         Selector.findElements($(''box'').firstDescendant(),
''a.tooltip'')
>
> --
> Christophe Porteneuve a.k.a. TDD
> "[They] did not know it was impossible, so they did it." --Mark
Twain
> Email: tdd-x+CfDp/qHev2eFz/2MeuCQ@public.gmane.org
>
> >
>