父窗口
<form id="form" name="form" method="post" action="?action=add">
  <tr><td width="200">&nbsp;</td>
    <td height="30" align="left">图片地址:<input name="tgphotodz" type="text" id="tgphotodz" size="40" value="<%=tgphotodz%>" />&nbsp;&nbsp;<iframe src="upload_files.asp?formID=Form&objID=tgphotodz" height="20" width="250" scrolling="no" frameborder="0"></iframe></td>
    
  </tr>
  <tr><td width="200" >&nbsp;</td>
  <td height="30" align="left" >
  推广链接:<input name="tgdz" type="text" value="<%=tgdz%>" size="40" />
  </td>
  </tr>
 <tr><td width="200" >&nbsp;</td>
  <td height="30" align="left" >
  图&nbsp;&nbsp;片:<img src="<%=tgphotodz%>" width="200" height="120" border="0" style="border:1px solid #666666; padding:2px; margin-bottom:8px; margin-top:8px;" />
  </td>
  </tr> 
  <tr>
  <td height="30" colspan="2">
 
    <label>
      <input type="submit" name="button" id="button" value="提交" />
    </label>
  </td>
  </tr>
  </form>       
子窗口
   <form id="form1" name="form1" enctype="multipart/form-data" method="post" action="?action=save&formID=<%=formID%>&objID=<%=objID%>&rnd=<%=Now()%>" onsubmit="if(this.Submit.value=='稍候') return false; this.Submit.value='稍候';">
<%If FilePath="" Then%>
  <input type="file" name="file" style="width:200px; border:1px solid #666666;" onKeyPress="return false;" />
  <input type="submit" name="Submit" value="上传" style="border:1px solid #666666;" />
<%Else%>  
  <input name="FilePath" type="text" value="<%=FilePath%>" onClick="oCopy(this);" readonly="readonly" style="width:200px; border:1px solid #666666;" /> 
  <a href="upload_files.asp?formID=<%=formID%>&objID=<%=objID%>">新上传</a>
  <script language="javascript">
  <%If formID<>"" And objID<>"" Then%>
  parent.<%=formID%>.<%=objID%>.value = document.form1.FilePath.value;
  <%Else%>
  oCopy(document.form1.FilePath);
  <%End If%>
  </script>  
  <%End If%>  
</form>
为什么不能成功的给父窗口的text赋值,赋值以后能不能显示?