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