帮我看看这个代码!!!!关于selft close();
ljxu8 2003-08-18 10:52:03 我要得是:
父窗里弹出含有下面代码的子窗,
从子窗里点击分类(cate1)后,子窗关闭,且父窗里运行linkis里面的内容。。
问题是把self close(); 放在目前的位置且运行时,子窗没关闭,只把子窗里面内容关闭没了。。其它很正常。。
我要的是子窗关闭阿。。
不知道什么原因。这个问题怎么解决???
请给于帮助好吗??
谢谢。
<%
---->
if Len(trim(request("acode"))) = 0 then
linkis = "javascript:opener.location('/mental/newmentl_list.asp?area=1&cate1="& trim(ars("cate1"))&"&acode=" &acodis&"');self close();"
else
linkis = "javascript:opener.location('/mental/newmentl_list.asp?area=" & trim(request("acode")) & "&cate1="&trim(ars("cate1"))&"&acode=" &acodis& "');self close();"
end if
response.write "<td align=center width=50%"&" class=middle-button><a href=" & linkis & " >" & trim(ars("cate1"))&"</a></td>"
--->
%>