title: jquery load() only works with alert()
body: <p>the code below works only when i uncomment alert. What is the problem with this code.<br>
  <strong>temp.html</strong></p>
  
  <pre><code>&lt;script src="jquery.js" type="text/javascript"&gt;&lt;/script&gt;
      &lt;div id="show"&gt;&lt;/div&gt;
      &lt;form id="chat_form"&gt;
          &lt;input type="submit" /&gt;
      &lt;/form&gt;
      &lt;div id="abc"&gt;&lt;/div&gt;
      &lt;script&gt;
          $(document).ready(function () {
              $("#chat_form").submit(function (event) {
                  $("#show").load("test.html", function (responseTxt, statusTxt, xhr) {
                      if (statusTxt == "success")
                          $("#abc").text(responseTxt);
                      if (statusTxt == "error")
                          $("#abc").text(xhr.statusText);
                      //alert( xhr.statusText);
  
                  });
              });
          });
  
      &lt;/script&gt;
  </code></pre>
  
  <p><strong>test.html</strong></p>
  
  <pre><code>&lt;p&gt;hi i am test.html&lt;/p&gt;
  </code></pre>