Blueimp jQuery File Upload Integrated with Database

后端 未结 3 1126
孤城傲影
孤城傲影 2021-02-06 19:17

This plugin reads image files on blueimproot/server/php/files on page load. I need to read records from database, and replace \'download\' HTML structure with m

3条回答
  •  萌比男神i
    2021-02-06 19:50

    My suggestion is to open up the Network Tab in Firebug and watch for any GET requests to server/php/index.php. If it happens after a specific event then you'll have a better idea of where you should look.

    I did look through the source files and the only GET request I found was in main.js

    $('#fileupload').each(function () {
      var that = this;
      $.getJSON(this.action, function (result) {
        if (result && result.length) {
          $(that).fileupload('option', 'done')
            .call(that, null, {result: result});
            }
        });
      });
    }
    

提交回复
热议问题