虽然我正在以下面的文件上传,但是如何在这个插件中更改asc命令?
1. Filename progressbar
2. Filename progressbar
3. Filename progressbar
Jquery的
$("#sequentialupload").uploadFile({
url:"upload.php",
fileName:"myfile",
sequential:true,
sequentialCount:1
});
HTML
<div id="sequentialupload"></div>
答案 0 :(得分:1)
在文档中我找不到任何排序选项(也许文档已被弃用),但在插件源代码中我找到了这段代码:
if(s.uploadQueuOrder == 'bottom')
$(obj.container).append(bar.statusbar);
else
$(obj.container).prepend(bar.statusbar);
默认情况下,uploadQueuOrder
属性设置为top
。只需将其更改为bottom
所以你的代码必须像这样
$("#sequentialupload").uploadFile({
url:"upload.php",
fileName:"myfile",
sequential:true,
sequentialCount:1,
uploadQueuOrder: 'bottom'
});