exit('success|Login successful');
success: function(res)
{
$('#loading').hide();
var arr = res.split ('|');
var returnType = arr[0];
var msg = arr[1];
alert(returnType); ---It is detected that the display is also success
if(returnType ==="success")
{
//validateLogin();
# else
{
Check whether the data types are consistent