jquery bootstrap select picker methods 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');
});