摘自:https://blog.csdn.net/qinyf2015/article/details/78666633/
<input type="text" name="name" id="searchName" >
<input type="text" name="name_two" id="daochuName" >
$(function () {
$('#searchName').bind('input propertychange',function() {
var a= $('#searchName').val();
$('#daochuName').val(a);
});
})