<script>
if confirm('此客户还没有<惠及申请人表>,点击确定现在填写!'){location.href='c_5_insert.php?khxm=$khxm';}
else{history.go(-1);}
</script>
if confirm('此客户还没有<惠及申请人表>,点击确定现在填写!'){location.href='c_5_insert.php?khxm=$khxm';}
else{history.go(-1);}
</script>
以上信息是什么意思啊,不能返回上一页
按取消返回之后就出现以上信息.怎样解决呢?
if(confirm('此客户还没有<惠及申请人表>,点击确定现在填写!'))
{location.href='c_5_insert.php?khxm=$khxm';}
else{history.go(-1);}
</script>
怎样让浏览器后退时不显示网页过期,而显示原先的页面
mikespook(Mike大懒猫) :
我找不到答案啊
我加上了还是不行
if confirm('此客户还没有<惠及申请人表>,点击确定现在填写!'){location.href='c_5_insert.php?khxm=$khxm';}
else{location.href='把这里改成你要他转回的路径不就好了??';}
</script>
location.href='c_5_insert.php?khxm=$khxm';请问如果按取消后返回上一页,只是按确定才跳到c_5_insert.php,怎样写啊?
answer:
if(confirm("此客户还没有<惠及申请人表>,点击确定现在填写!")==true)
{}
location.href='c_5_insert.php?khxm=$khxm';请问如果按取消后返回上一页,只是按确定才跳到c_5_insert.php,怎样写啊?
answer:
if(confirm("此客户还没有<惠及申请人表>,点击确定现在填写!")==true)
{
window.location = "c_5_insert.php?khxm=$khxm";
}
else
{
history.back();
}
if confirm('此客户还没有<惠及申请人表>,点击确定现在填写!'){location.href='c_5_insert.php?khxm=$khxm';}
else{history.back();}
</script>来迟一步。
好像上个页面是表单提交后的页面了
如果是这样的话
history.go(-2)
流程是这样的:查询--->得出结果(并且是带了参数的按钮)---->按按扭后用跳到另外一页---->用confirm()检测---->按取消键就出现以上的警告页.
请高手帮忙解决...
你需要补一些基本知识。这样解决方案就不说自明了,否则说了你还是不明白。