<input type=”file” id=”file1″ onChange=”test()”>
function test(){
var file1 = document.getElementById(‘file1’);
alert(“0000”);
}
打开一个1G大小的文件无延迟,
last Modified 最后修改 lastModified:1527836188121
last Modified Date 最后修改日期 lastModifiedDate:Fri Jun 01 2018 14:56:28 GMT+0800 (中国标准时间) {}
- name:”YLMF_Win7_SP1_X86_2017.part1.rar” –文件名字
- size:1073741824 –文件大小
- type:”” — 文件类型
- webkitRelativePath:”” –网络工具包相对路径