accessing the DOM of a page loaded in an iframe [javascript] [dom] [iframe] [for-twitter]

/ Published in: JavaScript
Save to your folder(s)

Copy this code and paste it in your HTML
  1. var ifr = document.getElementById('your_iframe');
  2. var ifr_doc = ifr.contentWindow.document;


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.