Load and display a html page every 60 seconds using JQuery Load()

The load() function will asynchronously load the content of, and then insert that content into each of the selected elements, replacing any content that is already there.
// Load and display a html page every 60 seconds

setInterval(function() {
      $("#divid").load("my_report.html");}, 60000);

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.