js判断上传的附件大小
var filePath= document.all.upfile.value;
var fso, f, s;
fso = new ActiveXObject("Scripting.FileSystemObject");
f = fso.GetFile(filePath);
alert(f.Size)
发布时间: 2012-10-24 14:15:58 作者: rapoo
js判断上传的附件大小
var filePath= document.all.upfile.value;
var fso, f, s;
fso = new ActiveXObject("Scripting.FileSystemObject");
f = fso.GetFile(filePath);
alert(f.Size)