This snippet to reload a page content, using Jquery within interval time (in second). This is suitable to be applied on realtime data display.

<!DOCTYPE html>
<title>Reload Content</title>

<script src=""></script>

$(document).ready(function () {
    setInterval(function() {
        $.get("file-to-be-reloaded.php", function (result) {
    }, 1000);


    <div id = "reload"></div>



  1. 1000 mean 1 second.
  2. As mentioned on this official jquery, is advised to download jsquery-latest.js rather then on CDN