此处为跳转,在不出现新页面的情况下:

Response.Write("<script language=javascript>alert('提示信息.');window.location='跳转页面'</script>");
Response.Write("<script language=javascript>alert('提示信息.');
parent.location.href='跳转页面'</script>");
 
此处为跳转,在原页面不关闭的情况下出现新页面:
Response.Write("<script language=javascript>alert('提示信息.');
window.open('跳转页面')</script>");
此处为在框架中打开:
Response.Write("<script language=javascript>alert('提示信息.');
window.location.href='跳转页面',target='框架名称'</script>");

相关文章:

  • 2021-11-14
  • 2022-12-23
  • 2022-02-01
  • 2021-08-26
  • 2021-05-29
  • 2022-12-23
  • 2021-12-31
  • 2022-12-23
猜你喜欢
  • 2021-10-23
  • 2022-01-29
  • 2022-12-23
  • 2021-07-23
  • 2022-12-23
  • 2021-07-18
  • 2021-08-04
相关资源
相似解决方案