blueimp/jQuery-File-Upload — Issue #722: Getting the file URL from the DONE callback
Author: ssking35
Created: 2011-10-20 23:46:11+00:00
State: open

I need to run a jQuery callback function that puts the uploaded file name and URL in a form textarea ( after upload).

Please advise how I can get the URL of an uploaded file in the context of the Done callback..
(One file per upload session)

Here is example code: ( the file name part works well )

jQuery('#fileupload').bind('fileuploaddone', function (e,data) {

jQuery('textarea').val("

" + data.files[0].name + "");

});