keyup event in js with example
Example 1: 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());
});
Example 2: onkeyup
A function is triggered when the user releases a key in the input field