日期:2014-05-17 浏览次数:20919 次
function getStuInfo(){
if($("[name='apptmt.stuno']").val()=='')
return;
var today = new Date();
var todayStr = "" + today.getFullYear() + today.getMonth() + today.getDate();
//alert($.md5(todayStr+"JLTSG"+$("[name='apptmt.stuno']").val()));
var sn = "12345";
var url = "http://210.34.215.70:81/hw_certinfo.php?accid="
//+$("[name='apptmt.stuno']").val()+"&time="+todayStr+"&sn="+sn;
//alert(url);
//window.location.href=url;
var options = {
url: url,
dataType: "jsonp",
jsonp: "callBack",
success: showStuInfo,
error: error
};
$.ajax(options);
}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-
transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>
查询
</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js">
</script>
<script type="text/javascript">
jQuery(document).ready(function() {
$.ajax({
type: "get",
async: false,
&nbs