file size check at the time of upload
<p>I wan to check the size of file at the time of upload in javascript (its an image file so if possible want to check in kb or bytes or in px)</p>

<p>Is there any way i can do it.</p>

<p>Thanks in advance!</p>

<pre><code>&lt;input type="file" name="ssimgfile2" id="ssimgfile2" /&gt;
</code></pre>
