bootstrap selectpicker set selected value code example
Example: bootstrap selectpicker get selected value
$('.selectpicker').on('changed.bs.select', function (e) {
var selected = e.target.value;
});
$('.selectpicker').on('changed.bs.select', function (e) {
var selected = e.target.value;
});