保持文本输入同步

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

示例