我想将子弹出窗口中的复选框值传递给父窗口...我可以使用单个值来完成它但我想要做的是将多个值传递给textarea:是吗可能的?
PARENT:
<form method=post action='' name=f1>
<textarea name="textbox" cols="10" rows="3"></textarea>
<a href="javascript:void(0);" NAME="Window Name" onClick=window.open("child.php","child","width=550,height=170,left=150,top=200,toolbar=1,status=1,");>Open the child window</a>
CHILD:
<script langauge="javascript">
function post_value(){
opener.document.f1.textbox.value = document.frm.check.value;
self.close();
}
</script>
<form name="frm" method=post action=''>
<input name="check" type="checkbox" value="test">
<input type=button value='Submit' onclick="post_value();">