Home / Code Snippets / jQuery Code Snippets / Keep Text Inputs in Sync

Keep Text Inputs in Sync

var $inputs = $(".example-input");
$inputs.keyup(function() {
      $inputs.val($(this).val());
});

Example