PDA

View Full Version : View source of iframe?



tinyelefant
13 Feb 2010, 03:55 PM
I need some help with this javascript code (new to js).
My problem is that i can't figure out how to set a text area to show the source code of a iframe. The iframe's id is "iframe1" and the text area's id is "srcbox"
Any help is appreciated.

Lechlak
13 Feb 2010, 09:19 PM
Is this what you are looking for?

http://forums.devarticles.com/javascript-development-22/getting-page-source-of-iframe-8951.html