title: AJAX JSON only loading once, when refreshing it fails (only in IE7 & 8)
body: <p>I have a microsite which loads in JSON content with Ajax, it works first time in IE7 and IE8, but if I refresh those browsers it fails, I have checked in fiddler and I receive no errors. Could it be an error in the code somewhere?</p>
  
  <pre><code>var firstBackgroundImage = new Image();
                  firstBackgroundImage.src = "img/bg-img.jpg";        
                  firstBackgroundImage.onload = function () {
                      $('#loading-image').hide();
                      $(".wrap").fadeIn(300);
                      loadContent();
                  };
  
  function loadContent(){ 
      $.ajax({
          url: "json/" + language + "/content.json",
          data: "nocache=" + Math.random(),
          type: "GET",
          cache : false,
          contentType: "application/json",
          dataType: "json",
          success: function(source){
              data = source;
              showStartpage(data);
              showInfo(data);
          },
          error: function(data){
              alert("Failed to load content");
          }
      }); 
  
  }
  </code></pre>
  
  <p>The alert "Failed to load content" doesn't appear either it just shows the loading image I have in place, any possible faults there might be? Anyone ever had same problem?</p>
  
  <p>Thanks!</p>