魔兽世界游戏名字:asp的javascript问题

来源:百度文库 编辑:神马品牌网 时间:2024/05/10 11:22:40
在javascript中如何实现页面的连接。比如通过a.asp页javascript脚本,实现转到b.asp页中
如果我要将javascript脚本用response.write实现的话,是不是要用window.location?

response.write "<script>"&chr(10)&chr(13)
response.write "location='b.asp';"&chr(10)&chr(13)
response.write "</script>"&chr(10)&chr(13)

<script>
location="b.asp"
</script>