How to get full file path in form upload field using jQuery?
<p>I need to get the full upload path in a file upload field. I attached a change lister to the upload field, when a file is selected I alert the file path and I get just the file name. Not the full file path as it appears in the form field. For example instead of this:</p>

<pre><code>C:\Users\Toshiba\Desktop\me.jpg
</code></pre>

<p>I get</p>

<pre><code>me.jpg
</code></pre>

<p>the code:</p>

<pre><code>    $('input[type="file"]').change(function() {
        var fileLocation = $(this).val();
        alert(fileLocation);
    });
</code></pre>

<p>How to get the full file path?</p>
