iframe を使用して asp.net ページを作成しました。iframe には HTML ページがあります。今、私は url 経由で HTML コンテンツを参照していますAdmin/Home.aspx#Personnel_Data
。しかし、それは機能していません。この問題を解決するのを手伝ってください。
1798 次
1 に答える
0
これらを試してください
docment.getElementById('iframe')。contentWindow。
document.getElementById('FrameId')。contentWindow.document.body.innerHTML
document.getElementById('FrameId')。contentWindow.document.body.outerHTML
var doc = document.getElementById('FrameId')。contentWindow.document;
于 2012-10-18T05:57:35.850 に答える