Link to home
Start Free TrialLog in
Avatar of emsysindia
emsysindia

asked on

how to get file size through javascript without using Activex Object

Hi,
   How to get the upload file size through javascript.
I am not using ActiveX object as this object is not supported by all browsers.

<form name="formCompanyLogo" action="companyUpload.jsp" method="post"
      ENCTYPE="multipart/form-data">
<input type="file" name="file" id="submitfileForCompanyLogo" value="browse"  />  <input       name="input" type="submit" id="input" value="Upload"
      onclick="return upLoadLogoImage();" /></form>


plz help me asap...

thnx in advance....
ASKER CERTIFIED SOLUTION
Avatar of sunithnair
sunithnair

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Abandoning a question and then checking back with a lower grade is considered poor behavior on EE. Please reconsider your grade or check back with what you need clarification on.

An answer that something cannot be done should not influence your grading, not even if you are disappointed about the limits of a certain technology. I'm also disappointed that my car cannot fly, but if someone explains me that, is that a bad messenger?

Problems with closing questions? Check this: https://www.experts-exchange.com/help.jsp?hi=407