how to send post request from ajax code example
Example: $.post javascript
//$.post with jQuery
$.post(
"path/to/your/php/file",
{
param1: "Value",
param2: "Value"
},
function(data) {
//Callback here
}
);
//$.post with jQuery
$.post(
"path/to/your/php/file",
{
param1: "Value",
param2: "Value"
},
function(data) {
//Callback here
}
);