Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Accessing The DOM Of A Page Loaded In An Iframe

DZone's Guide to

Accessing The DOM Of A Page Loaded In An Iframe

· ·
Free Resource
var ifr = document.getElementById('your_iframe');
var ifr_doc = ifr.contentWindow.document;
Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}