js keyup from jquery code example
Example: jquery keyup
// Similar to KeyUp but just called on input change (optimal for AJAX calls)
var input = $('#formID').find('input[type="text"]');
input.on('input',
function(){
console.log (input.val());
});