楼上的获取方法不够科学,建议使用:names = Request.Form("names") 这个是专门获取表单值的,Request.Form("names") 中的 names 就是任何文本框等表单元件的name啦 还有,你的表达也要设置提交到有这些的处理代码的asp网页才可以啊
获取当前表单文本框里的值,参考实例如下:
aaa.....
bbb......
在1.asp页面中
if request.form("jjan")=0 then
color=request.form("color")
else
color=request.form("color1")
end if
假设文本框定义的名字为text1则 names=request("text1")