Lets say I want to join two data sets in my $.ajax call as such:
updateData: function(dataDetails) {
$.ajax({
url: './example.php',
data: {
lets:"GET",
real:"funky"
},
type: "POST",
dataType: "json",
});
}
dataDetails
in the function argument contains another set of data, such as...
{
a:"1",
b:"2",
c:"3"
}
How should I declare this in my data:
area of the $.ajax()
if I want to join these sets?