Hello,
I am facing a issue with Html embed. The Html embed is created with some
html and it is added to the container.
The code is as below:
--------------------------------------------
var htmlString = "<div id='divid'>Added using Html embed </div>";
var embed = new qx.ui.embed.Html(htmlString);
this.getRoot().add(embed);

alert(qx.bom.Collection.query("#divid").length);
--------------------------------------------

Most of the time I get count as 0. However sometimes I get count as 1
How do I know whether an element is added to the DOM or not?

Is it possible?

Thanks
Chirag
------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to