var getObjID = window.event.srcElement;
    var str = '../Popup/frmPopupPage.asp?PageName=' + escape(getPageNameByType(typeID)) + '&Title=' + escape('企业信息选取');returnValue = window.showModalDialog(str,'','dialogWidth=400px;dialogHeight=500px;center=yes;help=no;status=no');
returnValue 老是返回null值 frmPopupPage.asp 是个弹出页面 里面的内容是这样的:<%@ language=vbscript %>
<html>
<head>
    <META http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta http-equiv="Pragma" content="no-cache">
<title><%=unescape(request("Title")) %></title>
</head> <frameset frameborder=no cols="*" >
<frame src="<%=unescape(request("PageName"))%>">
</frameset></html>
请大家给我指点一下了!谢谢!

解决方案 »

  1.   

    returnValue 是frmPopupPage.asp的返回值啊但你的frmPopupPage.asp页面是没有返回值~~
      

  2.   

    返回值为null 应该是3楼的原因
    无法找到该页应该是你的iis 没有添加asp 脚本权限.
      

  3.   

    frmPopupPage.asp里至少得有个 window.returnValue="aaa"; 吧,returnValue属性没有设置值,当然就是null了。
      

  4.   

    frmPopupPage.asp 页面中需要给 window.returnValue赋值<head>
    <script>
    window.returnValue = "返回的值";
    </script>
    </head>
      

  5.   

    frmPopupPage 没有指定返回值  当然为Null值
      

  6.   

    请问在iis里怎么注册asp的脚本权限啊?
      

  7.   

      <frame src="<%=unescape(request("PageName"))%>">
    中的 PageName 是传来的页面路径
      

  8.   

    PageName  的页面 有返回值的 上面我说错了是返回”undefined“ 不是null
      

  9.   

        function ShowPage()
        {
            var the_url = ""; 
            var the_winstate="";      
            the_url='../Popup/frmPopupPage.asp?PageName=' + escape(getPageNameByType(typeID)) + '&Title=' + escape('企业信息选取');        the_winstate="dialogWidth=400px;dialogHeight=500px;center=yes;help=no;status=no";
            var result = showModalDialog(the_url,window,the_winstate); 
            if(typeof result == 'undefined')
            {       
            result = 0;
            }
            return result;
        }
      

  10.   

    谢谢你ytb13997,但是这种也不行的。弹出的页面依然是“找不到页面”!!!?