How to make JQuery file upload plugin call backend only once for all the files in an upload?
- 阅读更多 关于 How to make JQuery file upload plugin call backend only once for all the files in an upload?
问题 I'm using sails.js to build a website. I have a model named timeline . It has some text fields along with a collection named pictures . Each timeline can have multiple pictures . I want to update all these fields at once when user clicks save . I'm using JQuery file uploader to help multifile upload. Problem is, JQuery file upload calls my backend file-uploader service once for each picture uploaded. I need to update the other text fields only once and they need to be updated before the