window.opener.document.hidInfo.username.value
window.opener.document.hidInfo.password.value

解决方案 »

  1.   

      你用的是javascript代码,这个不用说是行的啦!我问的是如何用ASP的方式得到该表单的各项值!
      

  2.   

    一就是你不要用OPEN来打开窗口,用SUBMIT,并指定TARGET=BLANK
    否则你就打开时带参数在端ASP用querystring接收
      

  3.   

    change your openWindow(name) to:  function openWindow(name) {
        document.hidInfo.username.value = "guest";
        document.hidInfo.password.value = "guest";
        document.hidInfo.action = name;
        document.hidInfo.target="_blank";
        document.hidInfo.submit();
      }