title: jQuery $.get request not working
body: <p>I have a file upload form, the following javascript fires as soon as the form is submitted:</p>
  
  <pre><code>$("#uploader").submit(function() {
      $("#indicator").show();
      alert("Submitted");
      var refresh = setInterval(function() {
          $.get("progress.php?getprogress&amp;randval=" + Math.random(), function(data) {
              alert("Got " + data);
              $("#indicator .bar div").width(data + "%");
              if (data == 100) {
                  clearTimeout(refresh);
                  $("#indicator").addClass("done");
              }
          });
      }, 250);
  });
  </code></pre>
  
  <p>I added some alerts to debug, I get the <code>alert("Submitted")</code>, but not the one alerting the data. The php is fine, opening it in a separate window gives the correct values, but the javascript does not get it. Another weird thing is that if I stop the page load, the <code>alert()</code> with the value fires and code is processed.</p>