jquery input change add select option selected code example
Example 1: .on change get value
$('select').on('change', function() {
alert( this.value );
});
Example 2: jquery on element change
// On element change.
$('mydiv').bind('DOMSubtreeModified', function () {
console.log('changed');
});