title: jQuery ajax call errors in IE8
body: <p>I have a fairly simple ajax call built on jQuery.  It works perfectly in IE9, Firefox latest and Chrome latest (so I'm pretty certain the page which the AJAX call is posting to is fine) but on IE8 (not tried IE7) it fails.</p>
  
  <p>The jQuery code is:</p>
  
  <pre><code>$('.to-step-2').click(function(){
    var d = new Date();
    var roomShape;
    blnError = false;
    $.ajax({
      url: '/base/RoomBuilder/GetRoomShape.aspx?_='+d.getTime(),
      async: false,
      type: 'post',
      cache: false,
      dataType: 'html',
      success: function(data){
        if(data.substring(0,5) == 'Error'){
          alert('Please select a room shape to continue');
          blnError = true;
        }else{
          roomShape = data;
        }
      },
      error: function(jqXHR, textStatus, errorThrown){
        alert('Error 6: jqXHR = ' + jqXHR + '\ntextStatus = ' + textStatus + '\nerrorThrown = ' + errorThrown);
        blnError = true;
      }
    });    
    if (blnError == true){
      return false;
    }
  </code></pre>
  
  <p>The error, which is thrown only in IE8 is reading:</p>
  
  <pre><code>Error 6: jqXHR = [object Object]
  textStatus = error
  errorThrown = Length Required
  </code></pre>
  
  <p>I've seen a few other posts about similar things, but adding the timestamp and cache:false to prevent caching seem to be quite common solutions, but still not working for me :(</p>
  
  <p>Can anyone see why this is happening and suggest a fix?</p>