CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2003
    Posts
    280

    Reload image without whole page refrest

    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.

  2. #2
    Join Date
    May 2002
    Posts
    10,943

    Re: Reload image without whole page refrest

    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.
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

  3. #3
    Join Date
    May 2002
    Posts
    10,943

    Re: Reload image without whole page refrest

    [ moved ]
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured