Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var iframe = document.getElementById('iframeId');
- var innerDoc = (iframe.contentDocument) ? iframe.contentDocument : iframe.contentWindow.document;
- var iframe = document.getElementById('iframeId');
- var innerDoc = iframe.contentDocument || iframe.contentWindow.document;
Add Comment
Please, Sign In to add comment