] — notice the capitalization of JSON
does your form is currently set to; it must be
. That is the only tricky part in this entire domain. Once that is done, you can even capture the file using,
I wrote a complete article with the sample code that you can use for this, please see: Uploading the Files – HTML5 and jQuery Way!