$.post jquey code example
Example 1: post jquery
$.post( "test.php", { name: "John", time: "2pm" })
.done(function( data ) {
alert( "Data Loaded: " + data );
});
Example 2: post jquery
$.post( "ajax/test.html", function( data ) {
$( ".result" ).html( data );
});