您的位置首页生活百科

ASP里用location.href传值问题

ASP里用location.href传值问题

的有关信息介绍如下:

ASP里用location.href传值问题

js中转向时location.href='';

response.write() 已经在代码块<%%>里了,直接用连接符&rs(0)即可。

正确的应该是

response.Write("")

href是属性,不是方法..所以,应该用 location.href='...';

还有,response.write() 已经在代码块<%%>里了,你还输出1个<%=rs(0)%>??