maybe it is caching the image :)

On Jan 22, 1:27 pm, pere roca <pero...@gmail.com> wrote:
> hi all,
>
> I'm having problems updating images dynamically. The thing is that the src
> attribute is allways the same (that's not an error but I need it this way)
> but the file the src points to is dynamically created via php (an xml that
> is used to create the new image).
> The new image is not updated (well, sometimes work, sometimes not, that's
> the worse);
> if I take from the HTML, the src of the image and open in a new window, the
> correct image appears.
>
> That is:
> $.get('function.php', function()
> {
> //function.php has created a new xml file
> $("#image").show();
> //i have tried a setTimeout of 2 sec, suspecting that the new XML is not
> completely created (it should be correctly created, as we are on tha
> callback) without success;
>
> })
>
> any idea?
> thanks!
>
> Pere
> --
> View this message in 
> context:http://www.nabble.com/not-updating-images-after-ajax-request-tp216006...
> Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to