lhg在弹出窗口里获得父窗口的值代码,注意这个是在弹出的文件里写
<script type="text/javascript">
var api = frameElement.api, W = api.opener;
window.onload = function()
{
//alert(W.document.getElementById('txt1').value);
document.getElementById('itxt').value = W.document.getElementById('txt1').value;
};
</script>
Copyright © 2004-2024 Ynicp.com 版权所有 法律顾问:建纬(昆明)律师事务所 昆明市网翼通科技有限公司 滇ICP备08002592号-4