![]() That.qs1 = $selectableSearch. Initialize the plugin with default options. Create a two sided select list as follow: 4. Load jQuery library, Bootstrap's JS and the jQuery multiselect.js script at the bottom of the html page. SelectionSearchString = '#'+that.$container.attr('id')+'. Load Twitter's Bootstrap's stylesheet in the header. ![]() SelectableSearchString = '#'+that.$container.attr('id')+'. $selectionSearch = that.$selectionUl.prev(), $selectableSearch = that.$selectableUl.prev(), Replace the defautl click event to select items by the dblclick one.Īdd a custom CSS class to the multiselect container.Īctivates your content as a multiselect. The selected items will be displayed in the same order than they are selected. Text or HTML to display in the selection footer.Ĭlick on optgroup will select all nested options when set to true. Text or HTML to display in the selectable footer. The control exposes the list of checked items. Text or HTML to display in the selection header. The MultiSelect control extends the ComboBox control and adds checkboxes to each item in the drop-down list. Text or HTML to display in the selectable header. ![]() $('#my-select').multiSelect() Options Nameįunction to call after the multiSelect initilization.įunction to call after one item is selected.įunction to call after one item is deselected.
0 Comments
Leave a Reply. |