Re: Using $$ within an element.

Christophe Porteneuve
Sun, 03 Jun 2007 08:57:49 -0000

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'')