contact.html:1拒绝从' https://thoffmann336.000webhostapp.com/js/JQuery-UI/jquery-ui.min.css ' 应用样式,因为它的MIME类型('text / html')不受支持样式表MIME类型,并启用严格的MIME检查。
contact.html:16 GET https://thoffmann336.000webhostapp.com/js/JQuery-UI/jquery-ui.min.js net :: ERR_ABORTED 404
contact.html:1拒绝从' https://thoffmann336.000webhostapp.com/js/JQuery-UI/jquery-ui.structure.min.css ' 应用样式,因为它的MIME类型('text / html')不是支持的样式表MIME类型,并启用严格的MIME检查。
contact.html:1拒绝在' https://thoffmann336.000webhostapp.com/js/JQuery-UI/jquery-ui.theme.min.css '中应用样式,因为它的MIME类型('text / html')不是支持的样式表MIME类型,并启用严格的MIME检查。
contact.html:1拒绝执行' https://thoffmann336.000webhostapp.com/js/JQuery-UI/jquery-ui.min.js '中的脚本,因为其MIME类型('text / html')不可执行,并启用严格的MIME类型检查。
jquery.min.js:2 jQuery.Deferred异常:$(...)。datepicker不是函数TypeError:$(...)。datepicker不是函数
at HTMLDocument.<anonymous> (https://thoffmann336.000webhostapp.com/js/main.js:139:35)
at j (https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js:2:29948)
at k (https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js:2:30262) undefined
r.Deferred.exceptionHook @jquery.min.js:2
k @ jquery.min.js:2
setTimeout(async)
(匿名)@ jquery.min.js:2
我@ jquery.min.js:2
fireWith @ jquery.min.js:2
fire @ jquery.min.js:2
我@ jquery.min.js:2
fireWith @ jquery.min.js:2
ready @ jquery.min.js:2
R @ jquery.min.js:3
jquery.min.js:2未捕获TypeError:$(...)。datepicker不是函数
at HTMLDocument.<anonymous> (main.js:139)
at j (jquery.min.js:2)
at k (jquery.min.js:2)
发布于 2018-10-23 09:29:04
问题得到解决:问题是我的一些路径是大写字母,他们需要用小写字母,例如:https://thoffmann336.000webhostapp.com/js/JQuery-UI/jquery-ui.min.css 需要如下图所示:
https://thoffmann336.000webhostapp.com/js/jquery-ui/jquery-ui.min.css
https://stackoverflow.com/questions/-100002960
复制相似问题