javascript snippet to find the file size in internet explorer, the only i found was ActiveX object, but unfortunately it doesn't work in IE 9. error is mentioned below.
var iefilePath = $("fileInput").val();
var ieFileName = iefilePath.slice(iefilePath.lastIndexOf("\\") + 1);
var objFSO = new ActiveXObject("Scripting.FileSystemObject");
//error SCRIPT429: Automation server can't create object
var objFile = objFSO.getFile(iefilePath);
var fileSize = objFile.size;
alert(objFile.size);