If I'm uploading a file via AJAX using FormData()
, can I process that as part of the same form as the rest of my data, or do I need to treat it and the other data as two separate entities? If the latter is the case, should I assume I need two separate AJAX calls?
Asked
Active
Viewed 37 times
0
-
Just add the additional data to the formdata? – Kevin B Feb 04 '16 at 21:27
-
possibly related: http://stackoverflow.com/questions/10899384/uploading-both-data-and-files-in-one-form-using-ajax – Kevin B Feb 04 '16 at 21:28