AJAX form submission with file upload

Hey guys. I am trying ajax to submit a form containing a file upload area. Since I found out that JS cannot handle file uploads, so I use this plugin -> http://jquery.malsup.com/form/#ajaxForm

However, after submitting the form, I get nothing in $_FILES . Does anyone know what the reason is and how I can fix it?

My input field is <input type="file" name="logo" id="logo" /> and yes, the form is multi-page data.

Thanks.

+7
source share
2 answers
+4
source

use this plugin, it uses XHR to download multiple progress bar files in FF3.6 +, Safari4 +, Chrome and returns to iframe-based covert downloads in other browsers, providing a good user experience around the world. check this out: http://valums.com/ajax-upload/

+1
source

All Articles