title: Get text from txt file jquery
body: <p>I have looked around at many questions, trying to mimic the code. However, I cannot get mine to work. When I run it, nothing is inserted to the div as text. It is just empty. Here is my code: </p>
  
  <pre><code>case 2:
      $("#cont").fadeOut(500, function() {
  
      $.get('about.txt', function(data) {
          $("#cont").html(data).fadeIn(500);
          }, 'text')});
  
  
      $("#header").fadeOut(500, function() {
      $("#header").html("About").fadeIn(500);
      });
      break;
  </code></pre>
  
  <p><em><strong>Works in Firefox but not Chrome!</em></strong></p>