Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
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
How exit from Iframe
Java Script or what
How do I page iframe search string to a parent window ?
Retrieving from iframe?
Powerpoint Presentation In An IFRAME
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013