exit('success|登入成功');
success: function(res)
{
$('#loading').hide();
var arr = res.split('|');
var returnType = arr[0];
var msg = arr[1];
alert(returnType); ---检测了显示也是success
if(returnType =="success")
{
//validateLogin();
//alert(msg);
window.location.reload();--不执行
}
else
{
检测下数据类型是否一致