jquery typing text code example
Example: jquery when you typing in input
$('input[name="noofppl"]').keyup(function(){
console.log($(this).val());
});
$('input[name="noofppl"]').keyup(function(){
console.log($(this).val());
});