jQuery saat Anda mengetik input
$('input[name="noofppl"]').keyup(function(){
console.log($(this).val());
});
Ugliest Unicorn
$('input[name="noofppl"]').keyup(function(){
console.log($(this).val());
});
jQuery(function($) {
var $firstname = $('input[name="firstname"]');
var $lastname = $('input[name="lastname"]');
var $fullname = $('input[name="fullname"]');
$firstname.add($lastname).keyup(function() {
$fullname.val($firstname.val() + ' ' + $lastname.val());
});
});