Am using the ajax file upload plugin from PHP Letter and am using jQuery 1.6.2.The files upload properly, but am unable to user the JSON data returned from the php script, w
This article applies the AJAX Upload well and explains although its for codeigniter. It did work for me except that I had to replace
dataType : 'json'
by
dataType : 'html'
seems has some issue with json
also relative url didn't work for me so i put an absolute url.
url :'http://localhost/satyam/LifeBook/places/upload_file',
and not to foreget obviosly you need to write the handlError function in the ajaxupload.js file to the end. http://www.kovloq.com/2011/10/23/ajax-upload-using-codeigniter/