GET URL OF DOCUMENT IN IFRAME



Get Url Of Document In Iframe

HTMLIFrameElement.contentWindow Web APIs MDN. Once I have the window object of the IFRAME, I can easily get at the document IFRAME Window (And Then Document) References With an Iframe for a foreign URL., 12/11/2018В В· I am downloading a PDF document from How to make blob url data(pdf) display in iframe However when I set the src of iFrame to this blob url I.

parent.document.getElementById from iFrame to parent not

Cross-window communication JavaScript. This will work only if they are in the same domain,protocol and port: document.getElementById("iframe_id").contentWindow.location.href else use :, You can get a URL for Office 365-hosted and change the values to get the frame size you want.