<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>queryQueue</title>
<script type="text/javascript" src="/ACC_CJCX/ps/js/jquery-1.3.2.min.js" ></script>
<script type="text/javascript">
//var url = "queryQueueAjax.jsp";
var url = "/ACC_CJCX/Queue.jsp";
function getPass() {
$.ajax({
type: "post", // 传值方式
url: url, // 接收后台地址
data: "status=chk&t=" + new Date().getTime(), // 数据
async: true, // 是否异步
success: function( msg) { // 成功回调函数
//alert(msg);
if ( "true" == msg) {
//$('#eeNum').html("0");
location.href = '/ACC_CJCX/ps/build.jsp?kind=1&msg=从业考试成绩查询&url=grade/cy_queryPage.do';
} else {
$('#eeNum').html(msg);
setTimeout("getPass()",5000);
}
}
});
}
$(document).ready( function() {
getPass();
});
</script>
</head>
<body>
查询成绩等待队列!在您之前还有<span id="eeNum"></span>名考生!
</body>
</html>
<html>
<head>
<title>queryQueue</title>
<script type="text/javascript" src="/ACC_CJCX/ps/js/jquery-1.3.2.min.js" ></script>
<script type="text/javascript">
//var url = "queryQueueAjax.jsp";
var url = "/ACC_CJCX/Queue.jsp";
function getPass() {
$.ajax({
type: "post", // 传值方式
url: url, // 接收后台地址
data: "status=chk&t=" + new Date().getTime(), // 数据
async: true, // 是否异步
success: function( msg) { // 成功回调函数
//alert(msg);
if ( "true" == msg) {
//$('#eeNum').html("0");
location.href = '/ACC_CJCX/ps/build.jsp?kind=1&msg=从业考试成绩查询&url=grade/cy_queryPage.do';
} else {
$('#eeNum').html(msg);
setTimeout("getPass()",5000);
}
}
});
}
$(document).ready( function() {
getPass();
});
</script>
</head>
<body>
查询成绩等待队列!在您之前还有<span id="eeNum"></span>名考生!
</body>
</html>