Hi,

Thanks, that seems perfect!

Did not know something like that would work. Sorry for the long exchange.

Jean-Noel

On Wed, Jun 24, 2009 at 9:58 AM, Alexander Back <[email protected]>wrote:

> Hi Jean-Noël,
>
> On Wednesday 24 June 2009 Jean-Noël Rivasseau wrote:
> > Hi and thanks for all your help; but you still dont fully understand my
> > issue :)
> >
> > I only have a reference to the DOM element I want to find a child on. In
> > practice, that element may not have any ID...
> > So a query like "#myElement > .MyTargetClass" is not possible, because
> the
> > base element has not any ID (I gave it one on the examples to try to make
> > it clearer, but it probably confused you instead). As I said, I only have
> a
> > reference to the DOM element, not its id nor class (it may not have any).
> Suppose you have a reference to a DOM element and you want to know if this
> DOM
> element has a direct child element with the class "MyTargetClass"
>
> --snip--
> qx.bom.Collection.query("> .MyTargetClass", d)
> --snip--
>
> This little snippet assumes you have stored your reference to the DOM
> element
> at the variable "d".
>
> I really hope I have fully understood now :)
>
> cheers,
>   Alex
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to