window.parent.document.getElementById("myiframe").src='ToGisDetail.action?GId=" + GId' ;
js iframe acquisition sub-page elements in the parent page code is as follows:
window.frames["iframe_ID"].document.getElementById("元素id");
window.parent.document.getElementById("myiframe").src='ToGisDetail.action?GId=" + GId' ;
js iframe acquisition sub-page elements in the parent page code is as follows:
window.frames["iframe_ID"].document.getElementById("元素id");