Get the parent page element
in the iframe child page. The code is as follows:
$.('#objld', parent.document);
Get the elements of the iframe subpage in the parent page
The code is as follows:
$("#objid", document.iframes('iframe').document)
or
$(document. getElementById('iframeId').contentWindow.document.body).html() $(document.getElementById('iframeId').contentWindow.document.body).html()
Display in iframe The content of the body element
$("#testId", document .frames("iframename").document).html()