如何设置input实现同时选中多个文件并同时上传

#1.表单上传文件的步骤:web ##- 1)设置enctypeapp 默认为:enctype="application/x-www-form-urlencoded"(通常不设置) 若要表单中有须要上传文件的表单项时,则必须设置enctype:enctype="multipart/form-data" ##- 2)设置method:提交方式svg 默认:get 须要上传文件时,必须设置为post
相关文章
相关标签/搜索