ajax request data code example
Example: make ajax request post jquery
$.ajax({
method: "POST",
url: "some.php",
data: { name: "John", location: "Boston" }
})
$.ajax({
method: "POST",
url: "some.php",
data: { name: "John", location: "Boston" }
})