Forum Moderators: open
<HTML>
<HEAD>
<script language="javascript">
function Transfer(){
document.form1.IText.value = X_Name.document.body.innerHTML;}
</SCRIPT>
</HEAD>
<body>
<iframe name="X_Name" src="http://www.test_url.com/" style="height:400px; width:700px;">
</iframe>
<P>
<input type='button' onClick="Transfer();" value="Transfer">
<BR>
<form name="form1">
<textarea name="IText" rows="12" cols="46" readonly>
</textarea>
</form>
</BODY>
</HTML>
______________________________________________________
I want to be able to strip the HTML of an active webpage (Address to be located in IFrame descriptor. Currently "http://www.test_url.com/"[smilestopper]) residing inside the IFrame.
Works fine for a "test" page saved to my local system, but gives me an "Error On Page" warning when I try with same page off of web.
Any thoughts would be greatly appreciated.
Dualsporter
Beside that, you could try changing...
X_Name.document.body.innerHTML;
to...
window.frames['X_Name'].document.body.innerHTML;
But I really think it is a XSSS issue.
Jordan