javascript - Customer parameter are not going through for file delete -
i have setup directly upload image s3 bucket , using fine uploader that. i trying send filename parameter (to end point) while deleting file. given below callback snippet . ondelete: function(id) { $(this).setdeletefileparams({ filename: this.getname(id) }); } it working fine newly uploaded files, have files through initiallist (option) , when try delete them filename param not going through. you not using jquery wrapper correctly. 1 of many reasons why i have suggested avoiding jquery , jquery wrapper , "vanilla" api more intuitive. you've left out code, looks declaring event handler property of callbacks config object, means can avoid jquery wrapper entirely. ondelete: function(id) { var name = this.getname(id); this.setdeletefileparams({filename: name}, id); } but code not necessary, fine uploader s3 sends name of object in s3 "key" parameter delete request .