Image Preview in safari and IE 9 browsers not working
<p><strong>i'm using following code, whick works perfect in IE8 and lower version, chrome, firefox. But it fails to work in Safari and IE 9.</strong></p>

<pre><code>&lt;script type="text/javascript"&gt;
    function readURL0(input) {
        if (input.files &amp;&amp; input.files[0]) {
            var reader = new FileReader();
            reader.onload = function (e) {
                $('#Img0').attr('src', e.target.result);
            }
            reader.readAsDataURL(input.files[0]);
        }
    }
&lt;/script&gt;



&lt;asp:FileUpload ID="fuFile0" runat="server" onChange="readURL0(this)" /&gt;
 &lt;img id="Img0" src="../images/myproject-thumb.jpg" alt="preview" width="70" height="70" /&gt;
</code></pre>

<p><strong>Is there any alternate solution, or any other suggestion.
thanks</strong></p>
