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;

URL: http://snippets.dzone.com/posts/show/13011

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.