首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >什么是这个javascript多个错误?

什么是这个javascript多个错误?
EN

Stack Overflow用户
提问于 2018-10-23 00:13:16
回答 1查看 0关注 0票数 0

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不是函数

代码语言:javascript
复制
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不是函数

代码语言:javascript
复制
at HTMLDocument.<anonymous> (main.js:139)

at j (jquery.min.js:2)

at k (jquery.min.js:2)
EN

回答 1

Stack Overflow用户

发布于 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

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/-100002960

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档