Why doesn't Blueimp's jQuery-File-Upload plugin fire callbacks?

前端 未结 5 1893
被撕碎了的回忆
被撕碎了的回忆 2020-12-24 14:55

I\'m experimenting with Blueimp\'s jQuery-File-Upload plugin, which judging by the demo looks very promising.

It\'s really easy to implement:

var $up         


        
5条回答
  •  甜味超标
    2020-12-24 15:24

    Not sure if this solves your problem or not, but for me, the following does not work (should work per the documentation:

    $uploadButton.bind 'fileuploadchange', (e, data) =>
      # Do something
    

    However, the following works:

    $uploadButton.bind 'change', (e, data) =>
      # Do something
    

提交回复
热议问题