<input value=提出代码已经实现!!!我的也OK了,谢谢大家! type=button onclick=go()><br/>
<iframe id=iframe1 style="width:90%; height:50%" src="http://www.google.com"></iframe><br/>
<textarea id=textarea1 style="width:90%; height:50%"></textarea>
<script>function loadContent(strURL)
{
var strContent = "";
if (typeof strURL != "string" || strURL == "")return strContent;
try
{
var oProxy = new ActiveXObject("Microsoft.XMLHTTP");

oProxy["Open"]("GET", strURL, false);
oProxy["Send"]();
strContent = oProxy["responseText"];
}
catch(e){status = e.description}
return strContent;
}function go()
{
  textarea1.value=loadContent(document.getElementById("iframe1").src)
}
</script>
http://expert.csdn.net/Expert/topic/2035/2035446.xml?temp=.6105463