怎么获取Iframe中的某个div对象

如题所述

frame引用的页面是通过form提交,返回的数据流。这种情况下 用$("#IframeID").contents().find("div").eq(0).html()获取不到页面里的div对象。有办法解决吗?
<form id="edocForm" name="edocForm" action="' + edocUrl + '" target="Edoc_from" method="post" >
<input type="hidden" id="hw_document_code" name="hw_document_code" />
</form>
温馨提示:内容为网友见解,仅供参考
无其他回答
相似回答