外部JS / jQuery文件正在加载但不能执行 [英] External JS/jQuery files are loading but not executing

查看:255
本文介绍了外部JS / jQuery文件正在加载但不能执行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在加载所有的下面的库和文件,但由于某些原因,只有CSS正在执行,没有外部的js文件。 scripts.js文件包含我所有的jQuery,它似乎被正确格式化。我不知道为什么CSS会执行,但不是jQuery。



在chrome开发工具中,下面的所有东西都会被加载。

 < head> 
<!DOCTYPE html>
< meta charset = utf-8 />
< link rel =stylesheettype =text / csshref =http://fonts.googleapis.com/css?family=Open+Sans>
< script src =http://code.jquery.com/jquery-1.10.1.min.js>< / script>
< script src =http://code.jquery.com/ui/1.10.3/jquery-ui.js>< / script>
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆