babyshandy
7/14/2016 - 6:19 PM

Jquery: Mirror one text input to another http://stackoverflow.com/questions/2977428/jquery-mirror-one-text-input-to-another

// Short and simple:
$('#idfield1').keypress(function() {
  $('#idfield2').val($(this).val());
});

// or to bind it to several events in order to update it also if 
// it loses focus:
$('#idfield1').bind('keypress keyup blur', function() {
  $('#idfield2').val($(this).val());
});