bootstrap selectpicker get selected option attribute 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;
});