Hi all,
How to preview an image when uploading it without page refreshing. I got some scripting but it will not work on all browsers. I had used a script in which getAsDataURL() method is used. Which works in IE6 and Firefox 3. I tested it with IE8 but is not working. I need code for working in IE7 and IE8. Please help me out.

Thanks in advance
iijb

iiJb,

getAsDataURL() is FF-proprietary, not W3C and therefore not universally implemented cross-browser. Apparantly, there's a W3C draft on this interface but no clues to from MS as to whether or not it might be implemented in IE.

This article seems to give chapter and verse.

Airshow

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.