title: jQuery $.get is not a function
body: <p>I got this error trying to execute a function <code>foo()</code> without setting an interval. Important thing is that my code is working perfectly if i remove this single execution and just leave an interval. Did anyone had this problem before?</p>
  
  <pre><code>var oldf = '';
  var oldd = '';
  
  function foo() {
  
    $.get("../Muxy/most_recent_follower.txt", function(my_old_follower) {
      oldf = my_old_follower
      console.log(oldf);
    }, 'text');
  
    $.get("../Muxy/most_recent_donator.txt", function(my_old_donator) {
      oldd = my_old_donator
      console.log(oldd);
    }, 'text');
  
    $('#followerid').html(oldf);
    $('#donatorid').html(oldd);
  
    console.log($('#followerid'));
  
  }
  
  foo(); // SINGLE EXECUTION BEFORE INTERVAL
  
  var auto_refresh = setInterval(foo, 1500);
  </code></pre>
  
  <p>What I want to achieve is I want to make a single execution of this function at the start and then repeat it every 1,5sec. Didn't get an error when remove the single execution.</p>