How to use FormData for AJAX file upload?

后端 未结 9 1377
不思量自难忘°
不思量自难忘° 2020-11-21 06:13

This is my HTML which I\'m generating dynamically using drag and drop functionality.

9条回答
  •  一整个雨季
    2020-11-21 06:48

    Good morning.

    I was have the same problem with upload of multiple images. Solution was more simple than I had imagined: include [] in the name field.

    
    

    I did not make any modification on FormData.

提交回复
热议问题