0
我想传递一个额外的参数到blueimp文件上传。我尝试使用文件上传提交事件:BlueImp文件上传额外参数
$('#fileupload').bind('fileuploadsubmit', function (e, data) {
// The example input, doesn't have to be part of the upload form:
var input = $('#input');
data.formData = {example: input.val()};
if (!data.formData.example) {
data.context.find('button').prop('disabled', false);
input.focus();
return false;
}
});
但是我不知道在哪里,额外的参数被传递到以及如何获得额外的paremeter?
我想实现的是当文件上传到UI版本中时,为每一行分配一个唯一的ID。有什么建议么?
您好,感谢您的回答。但是,我如何检索描述?我可以在下载模板中输出它吗? – RickyHalim 2014-11-22 08:55:43