注册 登录
编程论坛 ASP技术论坛

response.write"{window.alert('您未选择任何记录!!');window.location.

ASP汽车 发布于 2007-11-13 10:17, 941 次点击
response.write"<script language=JavaScript>{window.alert('您未选择任何记录!!');window.location.href='PARTAPPLY.asp?FLOWSN='"request("flowsn")"''}</script>"
在我没有加红字部分语句是正确的,加了就错了
4 回复
#2
lq73506842007-11-13 10:19
response.write"<script language=JavaScript>{window.alert('您未选择任何记录!!');window.location.href='PARTAPPLY.asp?FLOWSN="&request("flowsn")&"'}</script>"
这样试试
#3
中国男孩2007-11-14 00:33

也可以这个啊
<script language=vbscript>window.alert("您未选择任何记!!"):window.loaction.href=''PARTAPPLY.asp?FLOWSN="&request("flowsn")&"</script>

#4
zwb1852007-11-19 10:16
回复:(ASP汽车)response.write
前面的都正确,
#5
hmhz2007-11-19 15:01
三楼的正确吗?在单引号外面?
1