如何在VBScript中执行
<%@ Language=VBScript %>
<%
.........
if 条件 then
写个语句自动执行as()
.......
%>
<script>
function as()
{
opener.document.form2.date.value="<%=date%>";
top.window.opener = top;
top.window.open('','_self','');
top.window.close();
}
</script>
<%else
Response.Redirect ("test.asp")
end if %>