jquery ajax not using new url to send 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" }
})