ajquery post request code example
Example 1: jquery post
$.post( "test.php", { name: "John", time: "2pm" } );
Example 2: js ajax post strings
$.ajax({
type: "POST",
url: url,
data: data,
success: success,
dataType: dataType
});
$.post( "test.php", { name: "John", time: "2pm" } );
$.ajax({
type: "POST",
url: url,
data: data,
success: success,
dataType: dataType
});