jquery onchange for select code example
Example 1: .on change get value
$('select').on('change', function() {
alert( this.value );
});
Example 2: jquery detect textarea change
$('#myTextAreaID').on('input propertychange paste', function() {
//my Textarea content has changed
});