title: How automatic refresh data in web from JSON
body: <p>i have this code on my web to display some info from JSON, how can I automatic refresh element #last if JSON has changed? It´s possible display a countdown. I tried setInterval, but I´m not able to do it.</p>
  
  <pre><code>$(document).ready(function(){
      $.get("./last_match.php").done(function(data){
          $("#last").html(data);
      });  
  });
  </code></pre>
  
  <p>Thanks in advance!</p>