File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes problem redering image in IE7 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "problem redering image in IE7 " Watch "problem redering image in IE7 " New topic

problem redering image in IE7

Naveen Mishra
Ranch Hand

Joined: Nov 20, 2005
Posts: 75
I'm caught into a strange problem. Is there some issue with IE7?
My problem :

I have a file input element in my page. When I select an image, I want to display the selected image in a span. I have tested and found that my code works fine with IE6 but does not show up the image in IE7. It only shows default "image not found" icon.

I'm invoking js function on onchange event of file input.
My code :

is there anything wrong with this code?(the code is working fine for IE6, but causing problem in IE7)

Thanks for spending your time.
I agree. Here's the link:
subject: problem redering image in IE7
It's not a secret anymore!