On Jan 30, 2008 7:54 AM, jerryji
<jerr...@public.gmane.org> wrote:
I'm serving dynamic images from my controller so that every time /
image/next is accessed, it returns a new image as a byte stream. This
is all fine until I wrap it in a block <div "to-be-updated-by-
ajax"><img src="/image/next" alt="next image" /></div> and try to get
the image updated with some AJAX call. It seems that since the content
within the <div></div> block never changes, even though the line is
really coming from the server upon every AJAX request, my image never
gets updated.
Is there a way to achieve what was intended? Any hint would be greatly
appreciated!
You could put a random query string on it to make the browser think
it's a different image.