1
我可以找到很多插件,允许我使用一个html输入标签上传多个文件,但我想要的是有多个html输入标签的文件,但只有一个ajax调用。jquery ajax多个上传标签
我可以只有一个Ajax调用来上传文件吗?
这里是我的html的例子:
<fieldset>
<legend>test Files</legend>
<label for="testFile">Test File
<span class="small">Change the test file.</span></label>
<input name="testFile" type="file"/>
<label for="iconFile">Test Icon File
<span class="small">Change the test icon.</span></label>
<input name="iconFile" type="file"/>
<label for="featuredFile">Test Featured File
<span class="small">Change the test featured.</span></label>
<input name="featuredFile" type="file"/>
</fieldset>