the alert inside my success function response on ajax wont appear? -


 $.ajax({                     type: "post",                     url: url,                     data: data,                     success: function(response){                         alert("success"); --> 1                      }                 }); 

i've inserted data sign-up form want inform user registered on alert box

maybe it's not succeeding. have tried throwing in error handler see if it's failing?

$.ajax({    type: "post",    url: url,    data: data,    success: function(response){      alert("success"); --> 1    },    error: function (xhr, status, error){      console.log('error', error);    }  });


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -