Cannot remove files from file list using JQuery-File-Upload

前端 未结 5 1626
鱼传尺愫
鱼传尺愫 2020-12-20 17:59

I have an issue using the JQuery-File-Upload plugin. I am using the plugin directly and not through the author\'s provided html example pages. Basically I have a form with s

5条回答
  •  情书的邮戳
    2020-12-20 18:57

    I have a custom .add event handler, in which I have called .off("click") on my button:

                    add: function (e, data) {
    
                        $('#btnstartupload').off("click");
                        data.context = $('#btnstartupload')
                            .click(function () {
                                data.submit();
                                $(".fileinput-button").hide();
                            });
    }
    

提交回复
热议问题