Is this not working for you?
$("img.whatever").attr("src","newurl.gif");
 
Glen

 
On 11/13/06, Matt Grimm <[EMAIL PROTECTED]> wrote:
What would be an ideal way to refresh an image whose src attribute is a
script that dynamically generates the image? Would it be best to store
the value of the src attribute in a variable, remove the img element
from the DOM, and append a new image element with the same URL? In my
quick tests, it seemed like the browser was just using the same image
from the cache and I'm not sure how to get around that.

Thanks for anything!

m.

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to