change method of a element 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
});