jQuery Multiple File Upload Plugin
Language/jQuery 2014. 11. 18. 14:34Moving the file list
This is div#T7-list - selected files will be populated here... |
Customising the file list
Using events
This is div#F9-Log - selected files will be populated here...
|
Advanced Usage
Using your own selectors
$(function(){ // wait for document to load
$('#MyFileUpload').MultiFile();
});Setting limit via script
$(function(){ // wait for document to load
$('#MyFileUpload').MultiFile(5 /*limit will be set to 5*/);
});Advanced configuration
$(function(){ // wait for document to load
$('#MyCoolFileUpload').MultiFile({
max: 5,
accept: 'gif|jpg|png|bmp|swf'
});
});Customising visible strings for multi-lingual support
$(function(){ // wait for document to load
$('#PortugueseFileUpload').MultiFile({
STRING: {
remove:'Remover',
selected:'Selecionado: $file',
denied:'Invalido arquivo de tipo $ext!'
}
});
});- See more at: http://www.fyneworks.com/jquery/multiple-file-upload/#sthash.R7cYZgO3.dpuf
출처 - http://www.fyneworks.com/jquery/multiple-file-upload/
'Language > jQuery' 카테고리의 다른 글
| jquery timer plug-in (0) | 2014.11.18 |
|---|---|
| jquery selectbox (0) | 2014.11.18 |
| jNotify jQuery Plug-in (0) | 2014.11.18 |
| highlight: JavaScript text higlighting jQuery plugin (0) | 2014.11.18 |
| jquery.form.js (0) | 2014.11.18 |
