Twitter bootstrap 引导开关未加载

Twitter bootstrap 引导开关未加载,twitter-bootstrap,bootstrap-switch,Twitter Bootstrap,Bootstrap Switch,我已经包含了所有的依赖项,但我仍然不明白为什么它没有给我想要的开关。我错过什么了吗?当我点击我的保存更改按钮时,我也无法获取post数据 <link href="bootstrap-3.3.5-dist/css/bootstrap.css" rel="stylesheet"> <link href="bootstrap-switch/css/bootstrap3/bootstrap-switch.css" rel="stylesheet"> <script>

我已经包含了所有的依赖项,但我仍然不明白为什么它没有给我想要的开关。我错过什么了吗?当我点击我的保存更改按钮时,我也无法获取post数据

<link href="bootstrap-3.3.5-dist/css/bootstrap.css" rel="stylesheet">
<link href="bootstrap-switch/css/bootstrap3/bootstrap-switch.css" rel="stylesheet">
<script> src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="bootstrap-3.3.5-dist/js/bootstrap.js"></script>
<script src="bootstrap-switch/js/bootstrap-switch.js"></script>

src=”https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js">
状态
在…上
关

保存更改
首先从以下位置更正jQuery脚本:

<script> src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>

确切地说,我必须在哪里包括这些信息?在我的html开始时?您应该将其包含在html文档的
正文
标记中。检查我在帖子中提供的示例。更新帖子后,您在加载jQuery脚本时遇到了一个错误。
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<input id="switch-modal" type="checkbox" checked>
$('#switch-modal').bootstrapSwitch();