$(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); } } This function is triggered by a drop downs .change() event. The load() calls out to an MVC4 Partial View, which returns the html. This all works fine and dandy in Chrome and Firefox, but it doesn't work in IE11 (I haven't tested in older versions of IE since I don't support those in this circumstance). However, as soon as I open the Developer Tools