javascript not showing image in imgsrc
<p>i am using javascript to change the value of img src at run time..
i am using fileupload in html to take the input from use and i want that image to be uploaded in the "Image1" image tag.. but it is not uploading the image..
i am using:</p>

<pre><code> function upl(obj) {                 

                    filename = obj.value;
                    alert(filename);            
                    document.getElementById('Image1').src = '"' + filename + '"';
                    alert(document.getElementById('Image1').src);               
                    }
</code></pre>

<p>in the alert it is showing image name along with the local url..
where i am calling upl() onchange of fileupload.
can someone help me out..
thanks..</p>
