frame_FSUPLD为iframe的ID
sendContent1为iframe子页面的元素ID。
js:
parent.document.getElementById(“frame_FSUPLD”).contentWindow.document.getElementById(“sendContent1”).innerHTML;
jquery:
$(window.parent.document).find(’#frame_FSUPLD’).contents().find("#sendContent1").html()
或:
$(’#frame_FSUPLD’, parent.document).contents().find("#sendContent1").html()