----- a.asp -----<script language="javascript">
<!--
  function fncsubmit(x)
  {
    var aa = x;
    window.open('1111.asp?x='+aa,'zyc');
  }
//-->
</script><input type=button onclick="fncsubmit('cs');">----- 1111.asp -----<input size=20 value=<%=request.querystring("x")%>>

解决方案 »

  1.   

    谢谢!再请问一下:
    如果我要传两三个参数时window.open该怎么写呢?
    window.open('1111.asp?x='+aa..........
      

  2.   

    window.open('1111.asp?x=1&y=2&z=3');
      

  3.   

    window.open('1111.asp?x=1&y=2&z=3');这 种形式我试过是不行的,因为我需要
    +aa这种形式的写法才能正确传值,
    有哪位知道传两三个参数时window.open该怎么写呢?????????????