会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
只待花开
关注web前端开发设计◆探究移动应用开发◆超越移动互联网最前沿
CnBlogs
Home
New Post
Contact
Admin
Subscription
2013年1月23日
html 按钮跳转问题(及其相关)
1.点击一个按钮跳转到另一个页面 (网址) 两种写法: <button onclick="{location.href='location.html'}">获取现在的位置</button><input type="button" value="go" onclick="location.href='http://www.aseoe.com'">2.如果想弹出一个确认框之后再跳转 直接加代码 if(confirm('确定跳转?'))&
Read More
posted @ 2013-01-23 21:43 Aseoe
Views(39258)
Comments(0)
Diggs(0)
Edit
公告