Re: Refreshing image with AJAX request

2008-09-25 Thread ManiKanta G
Thanks a lot Frank & Manos. I'll try right away the proposed ways. ManiKanta

Re: Refreshing image with AJAX request

2008-09-25 Thread Frank W. Zammetti
On Thu, September 25, 2008 12:07 pm, Manos Batsis wrote: > Exactly, thus an XMLHttpRequest can be used update an image in two ways: > > * The image URL can be passed as information to the HTTP response, > wrapped in XML or not (i.e. XMLHttpRequest.responseText). That can be > used to update an ima

Re: Refreshing image with AJAX request

2008-09-25 Thread Manos Batsis
Frank W. Zammetti wrote: Ajax by its nature deals with textual information only, be it HTML, XML, JavaScript or plain text. Exactly, thus an XMLHttpRequest can be used update an image in two ways: * The image URL can be passed as information to the HTTP response, wrapped in XML or not (i.e.

Re: Refreshing image with AJAX request

2008-09-25 Thread Frank W. Zammetti
Ajax by its nature deals with textual information only, be it HTML, XML, JavaScript or plain text. It has no capability to handle binary data (talking about XMLHttpRequest only, there are other Ajax techniques that can achieve it). So, when you make an Ajax request to get an image, you'll get the