window.open(“help1.asp?id=123&url=help1.htm”)

解决方案 »

  1.   

    <script language="JavaScript">
    window.open('<%=Request["url1"]%>')
    </script>
      

  2.   


    2.aspx?url=help1.htm
    没有什么区别阿。
      

  3.   

    1.htm中:
    window.open("2.htm?id=123&url=abc.htm");2.htm中:
    srh=location.search;
    url="";
    if(srh.search(/[\?&]url=([^&]+)/i)>=0){
        url=RegExp.$1;
    }
    alert(url);
      

  4.   

    to  cuixiping(无心)这种办法获取附加在URL栏的参数是可以的,通过表单发送的post数据能通过javascript得到吗?好像只有通过jsp这样的动态页面
      

  5.   

    alexzhang00(三角猫) 真的是谢谢你啊,全分送上,
    cuixiping(无心),你的代码好像不是很好用啊?