Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Twitter Bootstrap include jQuery?

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?

like image 861
Matt K Avatar asked Jul 17 '12 16:07

Matt K


2 Answers

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 
like image 58
Manse Avatar answered Sep 22 '22 22:09

Manse


Does Twitter Bootstrap use jQuery?

Yes, jQuery plugins require jQuery. And as Mike pointed out, it is clearly mentioned on the site.

If so, what version (number) of jQuery is used

Also as Mike mentioned, latest version

are all jQuery functions available?

jQuery functions are available through jQuery, they have nothing to do with Bootstrap. If you include the jQuery library, you can use any jQuery functionality you want.

like image 27
Terry Avatar answered Sep 22 '22 22:09

Terry