Quantcast
Viewing all articles
Browse latest Browse all 69

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


Viewing all articles
Browse latest Browse all 69

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>