onSelect
function
N/A
Triggered for each file that is selected from the browse files dialog and added to the queue.
Arguments
- file
The file object that was selected.
Demo
|
1 |
<input type="file" name="file_upload" id="file_upload" /> |
|
1 2 3 4 5 6 7 8 9 |
$(function() {
$("#file_upload").uploadify({
'swf' : '/uploadify/uploadify.swf',
'uploader' : '/uploadify/uploadify.php',
'onSelect' : function(file) {
alert('The file ' + file.name + ' was added to the queue.');
}
});
}); |

