keyup event textbox jquery triggers form submit code example
Example 1: jquery when you typing in input
$('input[name="noofppl"]').keyup(function(){
console.log($(this).val());
});
Example 2: check when keyup an input from a specific form jquery
var inputs = $('#formID').find('input[type="text"]');
inputs.keyup(function() {
console.log($(this));
});