用JAVASCRIPT去取得一个<input type="file" name="file">中的FILE的大小

就是当我选择了一个文件后,马上显示文件的大小来,能行吗

多谢

在线等
---------------------------------------------------------------

http://www.lshdic.com/bbs/files.asp?dex=网页前台脚本编程&page=1&myclass=264
---------------------------------------------------------------

可以这样
object.fileSize
object对象为document或者img

Published At
Categories with Web编程
Tagged with
comments powered by Disqus