<script language="javascript">
if (window.opener!=null){
window.opener.document.all.TxtDate.value='2003-01-14';}
</script>
if (window.opener!=null){
window.opener.document.all.TxtDate.value='2003-01-14';}
</script>
解决方案 »
- 请问在FCKeditor中,下面代码的FCKeditor1是指什么对像?
- window.location地址不合法怎么办?
- 请问怎么在Combobox里面控制下拉高度
- jquery为什么不能使用after和before来创造一个table
- 关于一个js alert输出,内容中含有逗号的问题!
- 请大家帮忙看一下,难道是我逻辑错了不成?
- 【求助】同一个js为什么在chrome、ff、ie下的运行效率不同
- 有没有直接截取小数点的方法?
- 文本框向列表框写入的问题,在线,等ING
- 怎么通过a链接传递父id
- 问:用window.close(),怎能才不弹出确认对话框?
- 如何做一个自动检测插件并安装的页面?
window.opener.document.all.TxtDate.value='2003-01-14';如果父页面已经关闭!
是不是在window.opener!=null此处就出现错误?或者有没有其它方法呢?