jquery detect when select contents change code example
Example 1: on change jquery
$("input").change(function(){
alert("The text has been changed.");
});
Example 2: jquery detect textarea change
$('#myTextAreaID').on('input propertychange paste', function() {
//my Textarea content has changed
});