-
Notifications
You must be signed in to change notification settings - Fork 409
Open
Description
Hi, I have been trying to update the formData with the option "update" but when I update, it keep the old information.
This is my code:
var filesDataObj;
filesDataObj = $("#fileuploader").uploadFile({
url: "someURL",
multiple: true,
dragDrop: true,
fileName: "mallFiles",
autoSubmit: false,
formData: { "userID": 6, "statusID": 20 },
onError: function (files, status, errMsg, pd) {
console.log("Error: ");
console.log(status);
console.log(errMsg);
}
});
filesDataObj.update({
formData: {
"patientID": parseInt($("#patient_id").val()),
"appointmentID": hospitalResponse.HospitalData.patientAppointment
}
});
Also thanks for the plugin, it still works in 2020 👍
Metadata
Metadata
Assignees
Labels
No labels