◆◆◆100分求助,跨域读取HTML内容。
yzyun 2004-11-05 04:39:31 http://www.Mytest.cn
域名下面的某个asp页面实现如下功能:
读取跨域HTML页面的部分内容,显示在该asp页面中的某个<div>中,或者存储到http://www.Mytest.cn的数据库,如何实现?!!
<object id=editA style="width:400;height:280;" type="text/x-scriptlet" data="http://www.OtherA.com"></object>
不行;
<IE:Download ID="oDownload" STYLE="behavior:url(#default#download)" />
<body onload="oDownload.startDownload('http://www.OtherB.com/test.htm',onDownloadDone)">
<span id=showImport></span>
<script language=javascript><!--
function onDownloadDone(downDate)
{
document.all.showImport.innerHTML=downDate; //这种方法被讨论出来是最好的
}
//--></script>
也不行