王雅捷邵兵吻戏视频:关于<a href=" xxxx"> 弹出对话框的问题

来源:百度文库 编辑:查人人中国名人网 时间:2024/04/30 00:39:27
<a href="javascript:get()"> 点击</a>
<script language="javascript">

function get(){
confirm("haohaoxuexi!!tiantianxiangshang");
}
</script>
我的原意是:点击跳入另一个页面之间出现一个confirm对话框,只有用户点击了确定按钮才调转。加入我的另一个页面是test.html可以不考虑路径的问题。
知道的朋友谢谢赐教。。

<script language="javascript">
function openwinll()
{
result="haohaoxuexi!!tiantianxiangshang"
if (confirm(result))
{
window.location.href="test.htm"
}
else
{
window.location.href="#"
}
}
</script>
<a href="javascript:openwinll()">点击</a>