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

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -