81,092
社区成员
发帖
与我相关
我的任务
分享
<script type="text/javascript">
function chan(){
document.getElementById('id2').value = document.getElementById('id1').value;
}
</script>
</head>
<body>
<input type="text" id="id1" onkeyup="chan()">
<input type="text" id="id2">
</body>