Keyup Textare Example
http://stackoverflow.com/questions/43023576/textarea-keypress-not-working/43023698#43023698
HTML
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<textarea id="yourcode"></textarea>
JavaScript
$(document).ready(function(){
$("#yourcode").keyup(function() {
//alert("I found Hogwarts.");
});
});