How to get full path of a file with FileUpload Control?
<p>i am using FileUpload Control in my application to upload user information.when i used javascript to get the value of fileupload Control it give only the name of file in mozilla while in IE it's give the whole path with file name. And i want the file name with whole path.
mozilla Result - <code>user.doc</code>
IE Result - <code>/usr/local/user.doc</code> (which i want)</p>

<pre><code>&lt;input type="file" id="myFile" /&gt;
&lt;input type="button" onclick="getFile();" /&gt;

&lt;script type="text/javascript"&gt;

function getFile() {
    var fileInput = document.getElementById("myFile").value;
    alert(fileInput);
}

&lt;/script&gt;
</code></pre>
