<INPUT id=a onkeyup="b.value=value">
<INPUT id=b>

解决方案 »

  1.   

    <form name="frm">
    <input name="ipt1" value="" onchange="document.frm.ipt2.value=this.value">
    <input name="ipt2" value="" >
    </form>
      

  2.   

    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    </head>
    <body bgcolor="#FFFFFF" text="#000000">
    <input type="text" onkeyup="guagua.value='';guagua.value=this.value">
    <input type="text" id=guagua>
    </body>
    </html>