Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing 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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic