我有一个添加页面adddetail.asp里边有
<iframe name="ad" frameborder=0 src=uploadfacetest.asp></iframe>
<input id="photo" name="photo">
uploadfacetest.asp页面的代码是
<script language=javascript>
function b()
{
parent.document.all("photo").value=showModalDialog('sample01.asp','blank_','scrollbars=yes,resizable=yes,width=650,height=450');
}
</script>
<form name="form" method="post" action="" enctype="multipart/form-data" >
<input type="hidden" name="CopyrightInfo" value="">
<input type="hidden" name="photo" value="photo">
<input type="button" value="点我" onClick="b()";>
</form>
跳转到sample01.asp
<% Option Explicit %>
<script language=javascript>
function ad()
{
returnValue=document.all("FCKeditor1").value;
}
</script>
<!-- #INCLUDE file="../../fckeditor.asp" -->
<html xmlns="http://www.w3.org/1999/xhtml">
<body>
<form action="sampleposteddata.asp" method="post" target="_blank">
<%
Dim sBasePath
sBasePath = Request.ServerVariables("PATH_INFO")
sBasePath = Left( sBasePath, InStrRev( sBasePath, "/_samples" ) )
dim sForm
Dim oFCKeditor
Set oFCKeditor = New FCKeditor
oFCKeditor.BasePath = sBasePath
oFCKeditor.ToolbarSet = "Default"
oFCKeditor.Value =" ddd "
oFCKeditor.Create "FCKeditor1"
%>
<br />
<input type="submit" value="Submit"/>
</form>
传到photo后得到的值怎么老是初始值,真实值传到sampleposteddata.asp页后就过不去了