选择多个文件时如何获取每个文件数据?
<input name="file" type="file" multiple="" >
<script type="text/javascript">
$(document).ready(function(){
$(':file').change(function(){
var file = this.files[0];
name = file.name.toLowerCase();
size = file.size;
type = file.type;
});
});
</script>