我快要不行了,救救我!!!!!!!!!! window.opener.fname.txtname.value= document.thisformname.textname.value 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 Sorry:window.opener.document.fname.txtname.value= document.thisformname.textname.value <form name=f><input name=txt></form><script>window.open("2.htm")</script>2.htm============<form name=f2><input value=test name=txt2><input type=button onclick="window.opener.document.f1.txt.value=document.f2.txt2.value" value="send to parent"></form> <form name=f><input name=txt></form><script>window.open("2.htm")</script>2.htm============<form name=f2><input value=test name=txt2><input type=button onclick="window.opener.document.f.txt.value=document.f2.txt2.value" value="send to parent"></form> 注意:必须上window.open打开的。看看你有没有写错的地方 是母窗口事件触发函数,函数中用window.open,怎么试都不行:( 用js画斜椭圆 java script error $("#CommentText") 是不是=$('#CommentText') 这个应该怎么写 把图片替换成 flash 是否有方法,直接弹出显示文件选择框,而不用通过点击浏览按钮弹出 删除不了 checked 属性??? 如何做一个打开网页的.exe文件 急!!急!! 我就不信你们不会!!!! 怎么样实现JS点击一个文本然后出现添加事件,点击添加然后写完事件可以提交保存到当前文本!效果如下 求提交后进度条显示的源代码 有办法用javascript生成一个新的层并让这个层指向别的URL吗?
window.opener.document.fname.txtname.value= document.thisformname.textname.value
<input name=txt>
</form>
<script>
window.open("2.htm")
</script>
2.htm
============
<form name=f2>
<input value=test name=txt2>
<input type=button onclick="window.opener.document.f1.txt.value=document.f2.txt2.value" value="send to parent">
</form>
<input name=txt>
</form>
<script>
window.open("2.htm")
</script>
2.htm
============<form name=f2>
<input value=test name=txt2>
<input type=button onclick="window.opener.document.f.txt.value=document.f2.txt2.value" value="send to parent">
</form>
看看你有没有写错的地方