A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Reading content from iFrame
Joined: Jul 15, 2008
Jul 18, 2008 21:58:00
I have a simple HTML page where I have an iFrame. I want to read the HTML from iFrame how do I do that ?
Joined: Nov 08, 2001
Jul 19, 2008 07:43:00
You can only read the content from the iframe if it is in your domain.
var foo = document.getElementById("ifameId").getElementsByTagName("html");
It is sorta covered in the
JavaRanch Style Guide
subject: Reading content from iFrame
Java Script or what
Retrieving from iframe?
How do I page iframe search string to a parent window ?
Powerpoint Presentation In An IFRAME
How exit from Iframe
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015