Programmatically add a file to jquery fileupload

前端 未结 1 1851
醉梦人生
醉梦人生 2020-12-22 00:01

I\'m using blueimp/jQuery-File-Upload to allow users to upload attachments when creating a inquiry on my site.

I need to extend the current functionality to add a au

相关标签:
1条回答
  • 2020-12-22 00:22

    It is not possible to programmatically add a File object to FileList object at <input type="file"> element. You can create a file as data URI; Blob or File; or FormData object, use POST to send file object to server.

    0 讨论(0)
提交回复
热议问题