jquery send datd code example
Example 1: make ajax request post jquery
$.ajax({
method: "POST",
url: "some.php",
data: { name: "John", location: "Boston" }
})
Example 2: jquery post
$.post( "test.php", { name: "John", time: "2pm" } );
$.ajax({
method: "POST",
url: "some.php",
data: { name: "John", location: "Boston" }
})
$.post( "test.php", { name: "John", time: "2pm" } );