只看楼主 楼主

问个关于asp的问题!

在asp代码中,怎么判断confirm返回的值是“true”还是“false”?
CHINAZ官方广告

 TOP

只看该用户 沙发

Re:问个关于asp的问题!

if (confirm=true)
response.write("true")
else
response.write("false")
end if
dreamcoco的签名
唐伯虎点秋香;艾哎斯批点奈特!





 TOP

只看该用户 板凳

Re:问个关于asp的问题!

谢谢版主!
还有个小问题,如果页面中有不止一个confirm,那么咋判断是哪个的返回值呢?我找了一下论坛,好像没有关于这个的

 TOP

只看该用户 地板

Re:问个关于asp的问题!

if (confirm=true) and (confirm1=true) and (confirm2=true) then
response.write("true")
else
response.write("false")
end if
[本帖最后由 oyayakun 于 2008-06-24 16:25 编辑]
oyayakun的签名
凹丫丫网络社区  http://www.oyaya.net  网站建设交流, QQ群:9994750
欢迎友情链接,QQ:232706573

 TOP

只看该用户 #4

Re:问个关于asp的问题!

引用:
以下是用户dreamcoco2008-6-24 10:23:15发表的内容
if (confirm=true)
response.write("true")
else
response.write("false")
end if
可以
if (confirm)
response.write("true")
吗?

-_|||
小得的签名
一步一步,走自己的路……

 TOP

只看该用户 #5

Re:问个关于asp的问题!

confirm是什么函数啊。什么意思啊。大家帮我解释一下。
zilaiyebbs的签名
天亿网络  ----http://www.skyy.com.cn  天亿电影网   ----http://www.skyy.com.cn

 TOP