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);
# else
{
#