Does iridize provide functionality for selecting elements within an iframe?

Yes!

But, as a javascript library Iridize must also adhere to the same origin policy enforced by the browser.

This means that if the iframe is loaded from a different domain than you will not be able to select elements inside it from the outside frame. An exception to that is if both the top frame and the iframe share the same root domain; If so, you can use the document.domain attribute to allow Iridize to selects element inside the iframe even if it is loaded from a different sub domain.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.