AJAX即“Asynchronous JavaScript and XML”(异步JavaScript和XML),AJAX并非缩写词,而是由Jesse James Gaiiett创造的名词,是指一种创建交互式网页应用的网页开发技术。
$.ajax({
url: "${ctx}/institution/conditionMatch.do?pid="+pid+"&radioGroup="+ragroup,type: "POST",
dataType:"json", // 设置请求类型为"POST",默认为"GET"
success: function(data) {
if(data.flage == "false"){
$.colorbox({inline:true,href:"#askForm",innerHeight:'50%'});
$("#three").show(function(){
//document.getElementById("checkTable").style.display="none";
});
$("#one").hide();
$("#two").hide();
}else{
$.colorbox({inline:true,href:"#askForm",innerHeight:'84%'});
$("#two").show(function(){
//document.getElementById("okorno").innerHTML="恭喜您符合该申请条件,请马上联系信贷经理!";
//$("#checkTable")[0].style.display="";
//document.getElementById("checkTable").style.display="";
});
$("#one").hide();
$("#three").hide();
}
}
});