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