Queue Priority

Priority Queue Ordering

Assign priority levels to files in the upload queue. Higher priority files are uploaded first regardless of when they were added.

var uploader = AjaxUploader.create('#uploader', {
 uploadUrl: '/ajaxupload.axd/upload',
 multiple: true,
 autoUpload: false,
 concurrency: 1,
 onSelect: function(files) {
 files.forEach(function(f) {
 // Default priority: normal
 // Change with uploader.setTaskPriority(taskId, 'high');
 });
 }
});

// Priorities: 'high', 'normal', 'low'