using onchange vs jquery code example
Example: jquery detect textarea change
$('#myTextAreaID').on('input propertychange paste', function() {
//my Textarea content has changed
});
$('#myTextAreaID').on('input propertychange paste', function() {
//my Textarea content has changed
});