最新cdn
bootstrap-css <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">
jquery <script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
bootstrap-js <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
bootstrap-css <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">
jquery <script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
bootstrap-js <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
2018-03-14
http://www.runoob.com/bootstrap/bootstrap-scrollspy-plugin.html
最好的例子
最好的例子
2018-03-06
data-toggle="dropdown" still required
Regardless of whether you call your dropdown via JavaScript or instead use the data-api, data-toggle="dropdown" is always required to be present on the dropdown's trigger element.
Regardless of whether you call your dropdown via JavaScript or instead use the data-api, data-toggle="dropdown" is always required to be present on the dropdown's trigger element.
2018-03-05
$('[data-toggle="popover"]').popover();应该只是用$选择data-toggle=popover的元素,所以这句话不是必须的。<button ddd='2b' title="123"></button>,然后$('[ddd='2b']').popover()一样可以
2018-03-05
那个off()函数不是移除某个事件嘛,$(document).off('.data-api');不就相当移除data-api的所有事件吗?为什么加了这个就可以使用所有api,你告诉我能用的是什么api???
2018-01-03