the code is this:
var oas = new ActiveXObject("Scripting.FileSystemObject");
var d = document.form1.fsize.value;
var e = oas.GetFile("c:\\test.jpg");
var f = e.size;
alert(f + " bytes");
<input type="file" name="fsize">
<input type="button" name="c" value="SIZE" onClick="A();">
any body can help me without using this.
ActiveXObjects are only supported by IE
Image File size
Thanks, but i want the method that how can i do this in other explorers.
Originally Posted by r51
i only want the jpeg image file size which support by all the browsers.
thanks in advance