Language: JavaScript
Partial Page Refresh
1: /* 2: Refresh page content every 10 seconds. 3: */ 4: 5: setInterval(function() 6: { 7: $("#refresh").load(location.href+" #refresh>*",""); 8: }, 10000); // seconds to wait, miliseconds 9: 10: /* 11: Source: http://web.enavu.com/tutorials/top-10-jquery-snippets-including-jquery-1-4/ 12: */
Tags:
Report Abuse
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search

