我正在使用这个 script
效果很好,但我想通过将最后一张图像放在列表的开头而不是底部来对结果进行排序。作为 MySql ORDER BY.... 谁能帮我? 谢谢
最佳答案
好消息!它作为可配置选项内置在功能中。这样做:
- 打开“jquery.fileupload-ui.js”
- 搜索“prependFiles:”(减去引号)
- 将此行中“false”的值更改为“true”(再次减去引号)
完成后您的代码将如下所示:
// By default, files are appended to the files container.
// Set the following option to true, to prepend files instead:
prependFiles: true,
关于jquery - 更改脚本 "jQuery-File-Upload"的显示顺序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18705609/