Commit 15742881 authored by David Stutz's avatar David Stutz

Added JQuery 1.10 version, added note for IE 6,7,8.

parent 5c3beca3
......@@ -8,8 +8,16 @@ Bootstrap Multiselect is a JQuery based plugin to provide an intuitive user inte
A demo of different configurations can be found [here](http://davidstutz.github.com/bootstrap-multiselect/).
**Note**: The demo page is based on JQuery 2 - so for IE 6,7 and 8 the plugin will not work properly, see compatibility below.
For Knockout JS integration see some examples [here](http://davidstutz.github.io/bootstrap-multiselect/knockout-examples.html).
## Compatibility
Due to the changes with JQuery 2.x the plugin will not work in IE 6,7 and 8 when using the new JQuery version. So if compatibility for these browsers is needed simply switch to the 1.x version of JQuery. The demo page is running using JQuery 2.
Details can be found [here](http://blog.jquery.com/2013/04/18/jquery-2-0-released/).
## Configuration Options
**buttonClass**
......
......@@ -126,7 +126,7 @@
});
// Add options for example 28.
for (var i = 1; i <= 500; i++) {
for (var i = 1; i <= 100; i++) {
$('#example28').append('<option value="' + i + '">' + i + '</option>');
}
......
......@@ -487,6 +487,8 @@
// Rebuild the whole dropdown menu.
rebuild: function() {
$('.multiselect-container', this.$container).html('');
this.buildSelectAll();
this.buildDropdown(this.$select, this.options);
this.updateButtonText();
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment