silviomoreto/bootstrap-select — pull request #300 by stone9 (2013-09-10 20:35:14+00:00)
Title: add conditional enable to bootstrap-select

Extended bootstrap-select to support dependencies - i.e. enable/disable a , ,
based on the evaluation result of a jQuery selector string.

## Usage

Use "enable-if" attribute on the desired or or
. The value of "enable-if" should be a jQuery selector expression. You can also use "&&" as logic AND. Nesting is not supported. If no "enable-if" attribute is provided or if its value is empty, by default the element will be *enabled*.

## Examples

```html

--- Select Platform ---

Android

iOS

All Platforms

--- Select Model ---

Galaxy Note III

Galaxy S4

HTC One

iPhone 5S

iPhone 5

```