Awesome, works wonder.

Thanks Mike!

Cheers,
Jerry

On Jan 30, 1:13 pm, "Mike Orr" <[EMAIL PROTECTED]> wrote:
> On Jan 30, 2008 7:54 AM, jerryji <[EMAIL PROTECTED]> 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.
>
> --
> Mike Orr <[EMAIL PROTECTED]>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to