Open
Description
Hi, I'm using your great ajax file upload code like this:
$(document).ready(function(){
$('#fileSelector').ajaxfileupload({
'action': 'UploadFile',
'params':{
'filePath':$('#filePathInput').val()
},
'onComplete': function(response) {
$('#infoDiv').html("File Uploaded").fadeOut(5000);
},
'onStart': function() {
$('#infoDiv').html("Uploading").show();
}
});
});
I want to be able to change the filePath param and use whatever is the value of that input field when the ajaxfileupload function is fired.
with the code as it is at the moment it only uses the value of the input field at page load.
any ideas how to implement what i need??
Metadata
Metadata
Assignees
Labels
No labels