Hi,

I tried to use the qx.bom.Collection.query method to access elements in
an iframe on the same page (same domain) from a script running on the
page that contains the iframe.

It doesn't seem to work which may happen because there seems to be no
option to set the document used thus I cannot find an element in an
embedded iframe on a page:

<iframe id="demoiframe"><html><head></head><body><div
id="demo"></body></html></iframe>

How can I access #demo in the iframe from the document that contains the
iframe using qx.bom.Collection methods?

This doesn't work:
qx.bom.Collection.query("#demo")

I can of course find it using other methods but I'd like to use
qx.bom.Collection on iframes as well because it supports all of those
fancy CSS3 selectors :)

Thanks.

Sascha

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to