Quantcast
Channel: Sending multipart/formdata with jQuery.ajax - Stack Overflow
Viewing all articles
Browse latest Browse all 15

Answer by szatti1489 for Sending multipart/formdata with jQuery.ajax

$
0
0

All the solutions above are looks good and elegant, but the FormData() object does not expect any parameter, but use append() after instantiate it, like what one wrote above:

formData.append(val.name, val.value);


Viewing all articles
Browse latest Browse all 15

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>