Javascript获取任意格式文件的大小 dn001 2009-05-12 10:11:23 <script type="text/javascript">function g( filePath ){var img = new Image();img.dynsrc = filePath;return img.fileSize;}</script>