看起来像是一个问题
console.log()
当未打开开发人员工具时,IE没有控制台对象。请尝试通过注释console.log来运行代码,然后重试。
$(document).ready(function () { var loginUrl = "http://omittedurl.com"; //console.log(loginUrl); $.ajax({ type: "GET", url: loginUrl, dataType: "json", success: function (response) {// console.log("RESPONSE: " + response);alert("RESPONSE: " + response) } });});如果要使用console,则在未打开开发人员工具的情况下,首先需要定义它。
if (typeof console === "undefined" || typeof console.log === "undefined") { console = {};


