Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

problem redering image in IE7

Naveen Mishra
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
No, tomorrow we rule the world! With this tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!