[求助]为什么都是4
程序如下:
<%
a=2
if a=2 then
response.write "<script language=JavaScript>"
response.write "if(confirm('a=2将a改为3或将a改为4?'))"
response.Write "{"
a=3
response.Write "}"
response.write "else"
response.Write "{"
a=4
response.Write "}"
response.write "</script>"
end if
response.Write(a)
%>
不知道为什么,当出现对话框后,无论点击"确定"还是"取消" 变量a都是4。