asp中怎样先使用JavaScript语言弹出对话框 然后跳转到别的网页
2个回答
展开全部
response.write "<script Language=Javascript>alert('**提示信息**');location.href = '**跳转页面**';</script>"
二
response.write "<script Language=Javascript>if (confirm('**提示信息**')) { window.location = '**点是的跳转地址**'; } else { window.location = '**点否跳转的地址**'; }</script>"
二
response.write "<script Language=Javascript>if (confirm('**提示信息**')) { window.location = '**点是的跳转地址**'; } else { window.location = '**点否跳转的地址**'; }</script>"
展开全部
Response.write "<script Language=javascript>"&vbCrlf
Response.write "<!-- &vbCrlf
Response.write " alert(""你需要显示的信息!"");"&vbCrlf
Response.write " this.location.href=""/index.htm"""&vbCrlf
Response.write "-->"&vbCrlf
Response.write "</script>"&vbCrlf
Response.write "<!-- &vbCrlf
Response.write " alert(""你需要显示的信息!"");"&vbCrlf
Response.write " this.location.href=""/index.htm"""&vbCrlf
Response.write "-->"&vbCrlf
Response.write "</script>"&vbCrlf
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询