54

What is the Minimum version of jquery and jquery-ui to use with Twitter bootstrap 3? I have not found any documentation about that.

Anshad Vattapoyil
  • 23,145
  • 18
  • 84
  • 132
werva
  • 1,589
  • 5
  • 16
  • 19

6 Answers6

44

I've just found this page on Bootstrap 3 "Getting Started" section.

For Bootstrap 3 there are dependencies on JQuery set to version 1.9.0 or higher

http://getbootstrap.com/getting-started/#whats-included

There you can find a link to their Bower file hosted on GitHub where is clearly written the minimum version of JQuery required by Bootstarp 3.0.2

Max
  • 2,508
  • 3
  • 26
  • 44
12

https://github.com/twbs/bootstrap/blob/v3.0.2/bower.json

"dependencies": {
    "jquery": ">= 1.9.0"
  }
amul
  • 311
  • 2
  • 7
7

I'm putting this here because the last answer is from 2014:

I have bootstrap version 3.3.6, and if I update to JQuery 3.3.1 this error message appears in the console:

Uncaught Error: Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3
at bootstrap.min.js:6
at bootstrap.min.js:6

So lower than version 3, but higher than version 1.9.1 is fine, I just checked that and installed the latest 2.x version of JQuery, which can be found here: https://code.jquery.com/

The one offered there is: jQuery Core 2.2.4

Which just works fine with bootstrap version 3.3.6, and should be ok with version 3.3.7 officialy out.

Leo
  • 956
  • 8
  • 24
6

Bootstrap 3.1.1 requires Jquery 1.9.1 according to

Plugin dependencies Some plugins and CSS components depend on other plugins. If you include plugins individually, make sure to check for these dependencies in the docs. Also note that all plugins depend on jQuery (this means jQuery must be included before the plugin files). Consult our bower.json to see which versions of jQuery are supported. link to bower.json https://github.com/twbs/bootstrap/blob/v3.3.1/bower.json

Saqib Shakil
  • 101
  • 1
  • 4
2

I don't think anyone has actually tested Bootstrap 3 with different versions of jQuery.

I was using jQuery 1.3 when I tried to add a Bootstrap carousel. It didn't work. So I upgraded to 1.10 and it worked. (I didn't go to 2.x because it doesn't support IE8 which I need.)

Unfortunately I now have to update other JS code because it's using .live which is deprecated.

kwyjibear
  • 131
  • 6
0

On their official website they uses version 1.10.2.

chris
  • 4,827
  • 6
  • 35
  • 53