<input id=mm type="text" name="textfield2">
        <a href="#" onclick="this.href='search.asp?mm='+ document.all.mm.value"><img src="images/mainframe/cx.gif" width="3" height="6" border="0"></a>

解决方案 »

  1.   

    可以。
    <td><table width="500" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><input type="text" name="textfield2">
            <a href="search.asp" onclick='alert(this.href=this.href+"?parm="+document.all.textfield2.value)'><img src="images/mainframe/cx.gif"  border="0"></a></td>
        </tr>
      </table></td>
      

  2.   

    那我在search.asp中如何取得文本框textfield2的内容