Chinaunix首页 | 论坛 | 博客
  • 博客访问: 743687
  • 博文数量: 280
  • 博客积分: 10106
  • 博客等级: 上将
  • 技术积分: 3052
  • 用 户 组: 普通用户
  • 注册时间: 2007-10-31 17:10
文章分类

全部博文(280)

文章存档

2011年(2)

2010年(4)

2009年(4)

2008年(62)

2007年(208)

我的朋友

分类: 系统运维

2008-12-08 23:24:37

====javascript中弹出选择框跳转到其他页面=====



=====javascript中弹出提示框跳转到其他页面=====


=====ASP中直接跳转到其他页面===========

<%
response.redirect "logont.asp"
%>

=====Html中确认后弹出新页面===========
function Del(id)
  {
if (confirm("你确定要删除吗?"))
  {
  window.open("otherfile.asp?ID="+id+"&act=del","top","width=640,height=400")
  }
  }

=====Html中确认后跳转到其他页面=========
function Del(URL)
  {
if (confirm("你确定要删除吗?"))
  {
  //URL="otherfile.htm"
  window.location.href=URL
  }
  }
阅读(995) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~