Trying use varible for name in data. I need to get this: $_POST['specialName'];
sampleName = "specialName";
$.ajax({
url: url,
type: "POST",
data: {
sampleName: value
},
success: function(data) {};
});
Trying use varible for name in data. I need to get this: $_POST['specialName'];
sampleName = "specialName";
$.ajax({
url: url,
type: "POST",
data: {
sampleName: value
},
success: function(data) {};
});