Results 1 to 5 of 5

Thread: Partial Page Refresh Problem

Threaded View

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2009
    Posts
    968

    Partial Page Refresh Problem

    Hi Guys,

    Im using the code below to refresh the contents of a specific div on my webpage. But the problem I'm having is that when it refreshes it removes the contents completly rather than actually refreshing it. Anyone got any ideas on what the problem may be ?

    Code:
    setInterval(function() {  
    $("#content").load(location.href+" #content>*","");  
    }, 10000); //10 seconds to wait, miliseconds
    Last edited by dunlop03; Dec 31st, 2012 at 10:54 AM.

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