search

Home  >  Q&A  >  body text

== Sentence problem, please give me some advice

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
{



玖壹洗车叶老师玖壹洗车叶老师1818 days ago936

reply all(1)I'll reply

  • ringa_lee

    ringa_lee2020-01-31 19:47:46

    Check whether the data types are consistent

    reply
    0
  • Cancelreply