How to upload a file using Dajax

I am trying to upload a file using a form with Dajax.

I am serializeObject

using JavaScript to serialize data. However, the file type input is not serialized before being sent to the server. Is there a way to upload a file using Dajax?

+3


source to share





All Articles