Help needed with my ajax code. I'm encountering an error while trying to send data in Ajax - specifically with the data syntax. Despite several attempts, I have not been able to successfully resolve this issue.
Here is the portion of code causing trouble:
$.ajax({
type: "POST",
url: "customer.php",
data: {content : '"msisdn = '+mob+'"' , type : 'GetCustomer' },
dataType: "json",
success:function(data){
alert(data);
},
error: function(error) {
}
});