$(item).load() Script Breaking (only In Ie11), Works In Developer Tools
I have function that looks like this: function foo(item) {     var url = $(item).attr('data-url');     if (url && url.length > 0) {         $(item).load(url);     } }  T
Solution 1:
The issue was that IE was caching the results of my calls. IE's Developer Tools (from what I understand) automatically removes caching from a page when it's enabled, which is why my page worked when I tried to debug it in IE. To solve the problem I simply placed the code
$.ajaxSetup({ cache: false });
at the begining of my $(document).ready section. That keeps the page from caching any ajax results and solved my issue. 
Post a Comment for "$(item).load() Script Breaking (only In Ie11), Works In Developer Tools"