function pass() {
$.ajax({
type: "POST",//方法
url: "/e/mini/gzhide/pass.php?classid=1&id=813",
data: $('#form1').serialize(),
async:true,
dataType:"json",
success:function(data){
//提交成功
var result=document.getElementById("gzhide");
result.innerHTML=data['text'];
return false;
},
error : function(data) {
//提交失败
var result=document.getElementById("gzhide");
result.innerHTML=data['text'];
return false;
}
});
}
function getCookie(cname){
var name = cname + "=";
var ca = document.cookie.split(';');
for(var i=0; i