[flash][/flash]
上传是无组件上传
这个是主要代码,我想问的是:如何把iframe中上传后产生的新的文件名传值到
myfrom表单中给b,让b接受!我的目的是把b的值提交到数据库中!
<html><head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>新建网页 1</title>
</head>
<body><form action="iframetest2" name="myform" method=post>
<table border="1" width="19%" id="table1" height="253" cellspacing="0" cellpadding="0">
<tr>
<td height="185" align="left" valign="top">
<p align="center">
<iframe id="GuestList" height="177" width="100%" scrolling="no" marginheight="1" marginwidth="1"frameborder="0" src=upfile/upload.asp name="iframe1">
</iframe></td>
</tr>
<tr>
<td height="44">
<p align="center">
<input type="text" name="b" id="pic" size="23" ></td>
</tr>
<tr>
<td>
<p align="center"><input type="submit" value="提交" name="B1">
<input type="reset" value="重置" name="B2"></td>
</tr>
</table>
</form>
</body>
</html>
[此贴子已经被作者于2007-9-13 9:59:32编辑过]