Prz*_*tas -1 html javascript jquery twitter-bootstrap
我的Jquery没有加载
<link href="css/bootstrap.css" rel="stylesheet" type="text/css">
<link href="css/bootstrap-theme.css" rel="stylesheet" type="text/css"
<script type="text/javascript" src="js/jquery-3.1.1.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
Run Code Online (Sandbox Code Playgroud)
如果我在bootstrap.min.js之后放了jquery,jquery正在加载但是我需要首先加载jquery,当我这样做时,我得到:
未捕获的错误:Bootstrap的JavaScript需要jQuery(...)
Tia*_*ica 10
用>关闭第二行,如下所示:
<script type="text/javascript" src="js/jquery-3.1.1.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<link href="css/bootstrap.css" rel="stylesheet" type="text/css" />
<link href="css/bootstrap-theme.css" rel="stylesheet" type="text/css" />
Run Code Online (Sandbox Code Playgroud)