How to get image as responseText or responseXML in Ajax response?
I am using PHP to display image (using echo).
I need to get this image as a responseText or responseXML in the Ajax. How to display the image in the browser using Ajax?
Are there any approaches to have image payload in Ajax responseXML?
Ajax experts, please help me.
Urgent: Important: Image as responseText or responseXML in
Moderator: General Moderators
-
venkateshb
- Forum Newbie
- Posts: 3
- Joined: Thu Mar 26, 2009 3:36 am
Re: Urgent: Important: Image as responseText or responseXML in
Have the PHP file output the URL to the image. If that's all it outputs, that URL should then be in the responseText of your AJAX call.
Moving thread to Client-Side.
Moving thread to Client-Side.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.