[jQuery] AJAX Load Image Puzzle
Hi JQuery Gurus,
I'm sure someone will find this question simple --
I am serving images dynamically in my HTML as <img src="/images/next"
alt="next" /> that every time /images/next is accessed, it returns a
new image as Content-Type: image/jpeg byte stream. This is fine until
I wrap it in a block like <div id="to-be-updated-by-ajax"><img src="/
images/next" alt="next" /></div> and hoping to update it via AJAX
response: It appears that since the <img... /> portion never changes,
even when this div block is actually coming from the server upon every
AJAX request, my page never changes.
Any pointer would be greatly appreciated!
Cheers,
Jerry
P.S.: I'm sorry if some thinks this not a strict JQuery question.