bootstrap select-picker code example
Example: select picker bootstrap
$('.ex-disable').click(function () {
$('.disable-example').prop('disabled', true);
});
$('.ex-enable').click(function () {
$('.disable-example').prop('disabled', false);
$('.disable-example').selectpicker('refresh');
});