Auto-Refresh div content with static html page

  html, javascript, node.js

I want to reload html div tag in every 5 minutes which call .js file in it without refresh entire page.

<div id="pie">
  <script src="index.js">// reload in every 5 minutes
     </script>
 </div>

Source: Ask Javascript Questions

LEAVE A COMMENT