I am using bootstrap-fileinput, I am able to upload the file successfully, But I also want to send some data like user details with file to the server. is there any option to add data?
My JavaScript Code:
$('#xlf').fileinput({
showPreview: false,
uploadUrl: 'MuUrl',
allowedFileExtensions: ['csv'],
browseClass: "btn btn-info",
elErrorContainer: '#errorBlock',
msgUploadEnd: "File Uploded Successfully",
maxFileSize: 92160
});