wood burning stoves 2.0*
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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.
subject: problem redering image in IE7
Similar Threads
JSF and IE
How to change content type in XMLHttpRequest?
Javascript problem in IE 6 sp1
jQuery - add rows to table from AJAX response
Checkbox fieldvalue does not set action property in IE6 using https.