This question is not a duplicate of this question.
I'm trying to get the file names from the upload queue before uploading, so I can show those names in a form. Checking on the documentation they talk a lot on how to manage such information after uploading, but I can't find how to do it before.
Already tried to get access to the input that it think the script uses, with $('#file_upload').val()
but anyhow I got an empty value even after selecting some files.
How about the onSelect event?
$("#file_upload").uploadify({
'swf' : '/uploadify/uploadify.swf',
'uploader' : '/uploadify/uploadify.php',
'onSelect' : function(file) {
alert('The file ' + file.name + ' was added to the queue.');
}
});