SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    Always learning kigoobe's Avatar
    Join Date
    May 2004
    Location
    Paris
    Posts
    1,563
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Refreshing a part of a page, possible?

    Guys

    I was wondering how can I refresh a part of the page. I've seen is sites where they allow users to refresh only part of the page, like as we see in SP forum, when we edit a post, we just refresh the part of our post, not the full page.

    How do they do it? AJAX?

  2. #2
    Who turned the lights out !! Mandes's Avatar
    Join Date
    May 2005
    Location
    S.W. France
    Posts
    2,496
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Could use a div for the part to be refreshed, then write to the div with javascript, perhaps.
    A Little Knowledge Is A Very Dangerous Thing.......
    That Makes Me A Lethal Weapon !!!!!!!!

    Contract PHP Programming

  3. #3
    SitePoint Zealot
    Join Date
    Aug 2006
    Location
    Newcastle, England
    Posts
    142
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Could also use a hidden iframe. Have a look at the following link, it may help you in what your after:

    http://www.dyn-web.com/dhtml/iframes/

  4. #4
    SitePoint Guru SSJ's Avatar
    Join Date
    Jan 2007
    Posts
    828
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes you can do this with the help of Ajax easily...

  5. #5
    Always learning kigoobe's Avatar
    Join Date
    May 2004
    Location
    Paris
    Posts
    1,563
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Wonderful guys. Thanks for your replies.

    Only problem here is - none of the solutions are universal. Ajax, divs or Iframe, all depend on javascript, hence browsers where javascript is disabled, won't get the functionality. Probably I can code for those browsers seperately.

    Thanks again.


Bookmarks

Posting Permissions

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