| Сообщение от Alexandrhhh | 
	| Ноль реакции | 
	
 
 
<div id="1">
<input type="search" id="name1">
</div>
<div id="2">
<input type="search" id="name2">
</div>
<script>
    document.getElementById('name1').addEventListener('input', function(e){
        document.getElementById('name2').value = this.value;
    });
</script>