<form name="f1" enctype="multipart/form-data" action="pup1.asp" method=post>
<input type=file name="file1" class="form">
<br>
<br>
<input type="button" name="b1" value="预览" onClick="See(this.form.picview,this.form.file1)" class="form">
<input type=submit name="upfile" value="上传" class="form">
<br>
<br>
支持gif,jpg格式的图片<br>
<br>
<br>
<img src="../images/image.gif" name="picview" border="0" width="221" height="119" >
</form>
<script language="JavaScript">
function See(hh,ff) {
hh.src=ff.value
}
</Script>