我已经使用jQuery在MVC中开发了一个Web应用程序应用程序。
现在,我一次又一次收到此错误。我不知道我现在缺少什么。
有人可以指导我吗?
它在浏览器的控制台中引发以下错误消息:
jQuery.Deferred异常:url.indexOf不是一个函数TypeError:url.indexOf不是一个函数
在HTMLDocument 处的jQuery.fn.init.jQuery.fn.load(http:// localhost:5713 / Scripts / jquery-3.1.1.js:9793:13)
中。(http:// localhost:5713 / Theme / js / main.js:27:12)
在mayThrow(http:// localhost:5713 / Scripts / jquery-3.1.1.js:3570:29)
在流程(http :// localhost:5713 / Scripts / jquery-3.1.1.js:3638:12)未定义jQuery.Deferred.exceptionHook @ jquery-3.1.1.js:3846
jquery-3.1.1.js:3855 Uncaught TypeError:url .indexOf不是 HTMLDocument
上的jQuery.fn.init.jQuery.fn.load(jquery-3.1.1.js:9793)的函数
。(main.js:27)
在
进程(jquery-3.1.1.js:3638)的maythThrow(jquery-3.1.1.js:3570 )