<input type="textbox" onkeyup=ma.href="./play.asp?cid=1&id="+this.value>
<a id=ma href="./play.asp?cid=1&id=">Send</a>

解决方案 »

  1.   

    <input type="textbox" name="id" size="8" onblur="a1.href='./play.asp?cid=1&id='+this.value">
    <a href="./play.asp?cid=1&id=" target="_blank" id="a1">Send</a>
      

  2.   

    hrefObj.href="static data"+inputObject.value;
      

  3.   

    <input type="textbox" name="id" size="8" onchange="a1.href=a1.href.replace(/\&id=[^\&]*/,'&id='+this.value);">
    <a href="./play.asp?cid=1&id=" target="_blank" id="a1">Send</a>