I have got some code from a website to use Fine Uploder, and im having some problems getting it to work.
Im getting the following error in my console
Uncaught TypeError: Object [object Object] has no method 'on'
The code that im using is as follows:
// Instantiate a Fine Uploader instance:
$("#manual-fine-uploader").fineUploader({
autoUpload: false,
request: {
endpoint: "/uploads_bucket"
}
}).on("complete", function (event, id, name, response) {
submitForm.call(this);
}).on('statusChange', function (event, id, oldStatus, newStatus) {
if (newStatus === qq.status.CANCELLED) {
submitForm.call(this);
}
});
Any help would be greatly appreciated.
Cheers,