hi,
I want to find the size of jpg image in javascript i have done using activeXobject but it is not working on mozilla it only works on IE.
the code is this:

<html>
<head>
<script language="JavaScript">
function A()
{
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");
}
</script>
</head>
<body>
<form name="form1">
<input type="file" name="fsize">
<input type="button" name="c" value="SIZE" onClick="A();">
</form>
</body>
</html>


any body can help me without using this.

thanks.