title: xmlhttprequest network error, possible js/jQuery timeout?
body: <p>I have a MVC app in which I'm using jQuery to call specific actions in a controller to add items to a cart.</p>
  <p>Now, the app is running as it should, but when I'll leave the app to sit in the browser and comeback after lets say 1 hour, and I'm trying to add a item to the cart, clicking the button doesn't cause any action and I'm getting this error:</p>
  <blockquote>
  <p>SCRIPT7002: XMLHttpRequest: Network Error 0x80700013, Could not
  complete the operation due to error 80700013.</p>
  </blockquote>
  <p>This is the script which should be triggered:</p>
  <pre><code>$('button.submitButton').click(function() {
          var itemName2 = $(this).data('name');
          $.ajax({
              url: '@Url.Action(&quot;AddToCartAjax&quot;, &quot;Cart&quot;)',
              data: { itemId: $(this).data('id'), categoryId: $(this).data('categoryid') },
              dataType: &quot;json&quot;,
              type: 'POST',
              success: function (data) {                    
                  UpdatePartialView(data); 
                  $(&quot;.modal-body #cartTotalLabel&quot;).text('Order Total £' + data.Total);
                  $(&quot;.modal-body #cartItemName&quot;).text(itemName2 + ' added');
                  $('#createModal').modal('show');
                  setTimeout(function () { $('#createModal').modal('hide'); }, 2000);
              }
          });
      }            
  });
  </code></pre>
  <p>What should I do to fix this error?</p>