主题:  这个要怎样写才对啊?

lanshe

职务:普通成员
等级:1
金币:0.0
发贴:49
注册:2005/5/7 15:17:05
#12006/8/20 20:03:16
<%
str="<a href=# onClick=""MM_fy('request.Cookies(""username""')""" & "<font color=#FF0000>" & request.Cookies("username" & "</font></a>"
%>
这样写不对取不到request.Cookies(""username""的值.我把request.Cookies(""username""换成aaa就可以取到aaa啊
请问要怎样写啊?



缺缺

职务:管理员
等级:8
金币:41.0
发贴:9620
注册:2004/1/14 19:14:47
#22006/8/22 11:51:29
request是ASP的内建对象,必须在服务器端才可以运行.你想在客户端运行当然不行