Click to See Complete Forum and Search --> : Reload image without whole page refrest


Cooker
November 13th, 2007, 09:15 PM
Hi,
I have a homepage to show a image and a program to download new image. After program downloads a new image, I just want to reload the new image without refreshing whole page. What shall I do? Thank you.

PeejAvery
November 13th, 2007, 09:26 PM
Well, there is no such thing as "refreshing" only part of a page. You can however, dynamically re-write page contents. That would be for JavaScript.

I would suggest using a <div> and re-write the innerHTML. Your problem is that you cannot detect the completion of a download. That is beyond scripting ability.

PeejAvery
November 13th, 2007, 09:26 PM
[ moved ]