首页 > 代码库 > 文件上传表单

文件上传表单

<form action="http://website.com/attachFileAJAX.do" method="post" enctype ="multipart/form-data" > 
<input id="File1" name="UpLoadFile" type="file" /> 
<input type="submit" name="Button1" value="http://www.mamicode.com/Button" id="Button1" />
</form>

 

文件上传表单