jquery on type code example
Example 1: jquery when you typing in input
$('input[name="noofppl"]').keyup(function(){
console.log($(this).val());
});
Example 2: get input value on keypress jquery
$('#dSuggest').keypress(function() {
var dInput = this.value;
console.log(dInput);
$(".dDimension:contains('" + dInput + "')").css("display","block");
});