Getting icon from local file with JavaScript
<p>I have a web form that will upload a user-selected file.  I need to get the icon file that is registered on the user's system for this file to upload it along with the uploaded file.  How can I access a local file and extract its associated icon in the browser with JavaScript?</p>

<p>If this can be done, and you know how, thanks in advance.</p>
