FormData append not working

后端 未结 2 1919
情歌与酒
情歌与酒 2020-12-29 01:43

I wrote this to upload an image to my local Apache webserver using input element in HTML. The file is logged as not empty, but why is the for

2条回答
  •  别那么骄傲
    2020-12-29 02:12

    I've noticed myself that the contentType: false will only work on jQuery 1.7.0 and above. So make sure that you're using the right jQuery version.

提交回复
热议问题