I have 2 textbox fields. Email and Username. When i type into the email field I want the username to be update live dynamically, letter for letter by the email field. I have this code but it's not working
$('#txt_email').keyup(function() {
$('#txt_username').text($(this).val());
});
fiddle: http://jsfiddle.net/j7ECW/
Change:
$('#txt_username').text($(this).val());
to:
$('#txt_username').val($(this).val());
jsFiddle example
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With