jquery select option selected event code example
Example: jquery on element change
// On element change.
$('mydiv').bind('DOMSubtreeModified', function () {
console.log('changed');
});
// On element change.
$('mydiv').bind('DOMSubtreeModified', function () {
console.log('changed');
});