javascript detect textarea change

JavaScript
$('#myTextAreaID').on('input propertychange paste', function() {
    //my Textarea content has changed
});
Source

Also in JavaScript: