我写了一个PHP+Ajax的登陆页面,但是没有效果-php报错
aaaaa }$.ajax({ type:"POST",url:"php/login.php",dataType:"json",data:{"user":"user","password":"password"},beforeSend:function(){$("confirm").text("登录中,请稍候");},success:function(msg){ if(msg="successful"){$("#confirm...