为什么js文件在localhost上工作但不在ftp上工作?

时间:2016-10-27 22:01:22

标签: javascript jquery ftp localhost

链接在ftp上正确连接但未执行。

文件名上没有大写字母,例如 - &gt; “jQuers.js”和 我尝试了像<script src="https://ajax.googleapis.com/ajax/libs /jquery/3.1.1/jquery.min.js"></script>这样的在线图书馆,但它也没有用。

我的模板链接 - &gt; http://uidev.eu5.org/work/newtimes_rtl/

1 个答案:

答案 0 :(得分:0)

你需要先将jQuery放在<head>中首先依赖它的所有内容之前。

理想情况下,您应该将所有脚本标记移动到页脚 - 但仍然首先使用jQuery。

enter image description here

相关问题