Skip to content

Not sure how to change a param #41

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??

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions