21,886
社区成员
发帖
与我相关
我的任务
分享
include LoadLang("pub/message.php");
$error=$message_r[ClassChangeModHaveInfo];
echo"<script>confirm('".$error."');</script>";
function ask($text)
{ echo "<script>if(!confirm('$text'))window.history.go(-1)</script>" ; }
<?
……
ask("是否确定要继续?");
// 如果取消就返回上层页面,如果确定就执行下面的代码
……
?>