title: jQuery ajax only works in IE when the IE debugger is open
body: <p>I've faced strange issue with IE (11). I have simple jQuery code:</p>
  
  <pre><code>$("#my-radio").click(function () {
       $.ajax({
          url: "/my-url",
      }).error(function(jqXHR, textStatus, errorThrown) {
          $("#error-summary").text(errorThrown);
      });
  });
  </code></pre>
  
  <p>The thing is that this code works perfectly in all browsers except IE (in my case except IE 11, didn't test in earlier versions yet) <strong>BUT, when I open IE built in javascript debugger to see what's wrong - everything starts to works just fine</strong>. IE makes ajax call to controller action, breakpoint in controller gets hit. Action returns nothing (it's of type <code>void</code>), just counting some stuff. I've already tried plugin solution provided in <a href="https://stackoverflow.com/questions/10232017/ie9-jquery-ajax-with-cors-returns-access-is-denied">this thread</a> but it wasn't useful.</p>
  
  <p><strong>UPDATES:</strong></p>
  
  <p>To demonstrate the issue I've published simple MVC application <a href="http://services-app.no-ip.org" rel="noreferrer">here</a>. When you click on image, browser makes ajax request to this action:</p>
  
  <pre><code>public string Hello()
  {
       string ip = Request.ServerVariables["REMOTE_ADDR"];
       string agent = Request.UserAgent;    
  
       var request = new Request
       {
            IP = ip,
            Time = DateTime.UtcNow,
            UserAgent = agent
       };
  
       _requestsRepository.Add(request);
  
       int byIp = _requestsRepository.GetTotalRequestsCountByUser(ip);
       int total = _requestsRepository.TotalRequests;
  
       string message = string.Format("Hello, {0}. This is your {1}th request and {2}th request in total.", ip, byIp, total);
  
       return message;
   }
  </code></pre>
  
  <p>with this jQuery code:</p>
  
  <pre><code>$(document).ready(function () {
      $("#click-me").click(function () {
          $.ajax({
              url: "/services/hello",
          })
  
          .success(function (data) {
              alert(data);
          })
  
          .error(function (jqXHR, textStatus, errorThrown) {
              $("#error-summary").text(errorThrown);
          });
      });
  });
  </code></pre>
  
  <p>As you can see - action returns simple string which is alerted on success. You can try this page in IE. You will notice that the amount of requests doesn't grow, because <strong>NO request is actually sent</strong> but still <code>success</code> event handler is called and message is alerted (this is probably some old cached message after some possibly one successful request, I'm not sure). In any other browser the amount of requests will grow, because they are sent each time you click the image. If you turn on IE debugger - requests will be sent too. I suggest this is some kind of IE cache related issue.</p>