$.ajax({
type:"post",
url:url,
data:{d1,d2,},
dataType:"text",
success:function(msg){
if ("true" ==msg ) {
alert("修改成功");
window.location.reload();
}else if("havenot"==msg){
alert("修改失败!!!!!!!");
}else if("nono"==msg){
alert("用户名不能为空");
}else{
alert(msg);
}
}
后台接受值是空,一直返回nono
求大神指教