-
Notifications
You must be signed in to change notification settings - Fork 4
API: Advanced methods
premasagar edited this page Sep 13, 2010
·
11 revisions
Returns the iframe document’s doctype string, e.g. <!DOCTYPE html>.
Uses the htmlVersion to determine the doctype that will be used when the iframe document is created.
The default is the HTML5 doctype: aomi.doctype(5).
Returns the iframe window’s location, if it can be determined (this will happen if the iframe is in the DOM and it has a document from the same domain as the host document). If not, then the method will either return the iframe element’s src attribute (if the iframe is out of the DOM and has a document from the same domain as the host document), or otherwise null.