今天使用mootools做ajax登录时使用Request().send()数据时老是刷新整个页面,换成Requesr.JSON()也不行,弄了好长时间,很郁闷啊,最后终于发现onSuccess:function(responseJSON,text){ $('result').set('html',responseJSON.info); if(responseJSON.status==1){ window.location='__ROOT__'; } },中有错误,还是服务器端php反回值不全造…