Does Twitter Bootstrap v3 include jQuery or do I need to include jQuery separately? If it does include jQuery, what version (number) of jQuery is included, and are all jQuery functions available when using Bootstrap?

推荐答案

Heads up! All javascript plugins require the latest version of jQuery.

Right here in the docs

Here is the current release link for jQuery

There are a number of elements to the Bootstrap "product" - one of them are JavaScript Plugins - only these require jQuery - and they extend the jQuery functionality so yes all jQuery methods / functions are available. The remainder (CSS, Scaffolding, Components etc) require HTML and CSS (or a combination)

jQuery is not included within the Twitter Bootstrap download - you must download it / link to a CDN version of it

EDIT:

2.X requires atleast 1.7

Jquery相关问答推荐

加入了两个 select 语句,但数据显示了两次而不是一次

是否可以从不可见的 DataTables 列访问数据?

当输入值以编程方式更改时触发更改事件?

如何使用 aria-expanded="true" 更改 CSS 属性

使用 jQuery $.ajax() 时如何使用 GET 在请求正文中发送数据

jQuery 1.4.1 中缺少 JSON 字符串化?

AngularJS 中的 ScrollTo 函数

[本机代码]是什么意思?

如何在数据表中显示空数据消息

以ajax方式在rails 3中提交表单(使用jQuery)

JSON 服务在失败/错误时应该返回什么

ASP.Net 母版页和文件路径问题

jQuery获取表单字段值

为特定请求禁用 ajaxStart() 和 ajaxStop()

$(document).on('click', '#id', function() {}) 与 $('#id').on('click', function(){})

数字键盘的keyCode值?

即时替换 css 文件(并将新样式应用于页面)

Javascript 将 Markdown/Textile 转换为 HTML(理想情况下,返回 Markdown/Textile)

jQuery ajax 成功回调函数定义

组织 jQuery/JavaScript 代码的最佳方式 (2013)