art.dialog.art 中,将子页面窗口中的值传递给父框架中

artDialog.open.origin.document.getElementById('父元素ID').value=document.getElementById('子页面元素ID').value;

自己例子:

父页面

<div id="father">

</div>

子页面

<script type="text/javascript">
$(document).ready(function(){
artDialog.open.origin.document.getElementById('father').innerHTML='123';
});
</script>

结果

<div id="father">

123

</div>  

原文地址:https://www.cnblogs.com/yingjie13/p/4120940.html