$.ajax({
url:"./index_c.php",
type:"POST",
data:{"xm":xm, "xb":xb, "sjhm":sjhm, "jtdz":jtdz, "gzlb":gzlb, "cysj":cysj,"gzqy":gzqy,"note":note},
dataType:"json",
async : false,
success:function(){
//alert('success');
if(error==0)
{
$("#btn_submit").attr("disabled","disabled");
$("#btn_submit").css({"background":"#0000000"});
$("#msg").html('提交成功!');
}
else{
$("#msg").html(msg);
}
},
error:function(){
alert('error');
//$("#msg").html("提交异常!");
}
});
return false;
});本人是新手 还请大神们指点下
url:"./index_c.php",
type:"POST",
data:{"xm":xm, "xb":xb, "sjhm":sjhm, "jtdz":jtdz, "gzlb":gzlb, "cysj":cysj,"gzqy":gzqy,"note":note},
dataType:"json",
async : false,
success:function(){
//alert('success');
if(error==0)
{
$("#btn_submit").attr("disabled","disabled");
$("#btn_submit").css({"background":"#0000000"});
$("#msg").html('提交成功!');
}
else{
$("#msg").html(msg);
}
},
error:function(){
alert('error');
//$("#msg").html("提交异常!");
}
});
return false;
});本人是新手 还请大神们指点下
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货