$('input#q').keyup( function() { if( this.value.length < 4 ) return; /* code to run below */ $('#output').val(this.value); });
Chat on Whatsapp