title: jQuery Ajax request every 30 seconds
body: <p>I have this piece of code, but the values may change while someone is on my site. I would need to update the #finance div every 30 seconds or so. Can this be done?</p>
  
  <pre><code>$(function() {
      $.getJSON(
          "http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20yahoo.finance.quotes%20where%20symbol%20in%20(%22%5EFTSE%22)%0A%09%09&amp;format=json&amp;env=http%3A%2F%2Fdatatables.org%2Falltables.env&amp;callback=?",
  
          function(json){
            $('#finance').text(json.query.results.quote.Change);
              // Patching payload into page element ID = "dog"
          });
  });
  </code></pre>