aqjax jquery post jon code example
Example 1: $post in jquery
$(function(){
$('#myForm').on('submit', function(e){
e.preventDefault();
$.post('http://www.somewhere.com/path/to/post',
$('#myForm').serialize(),
function(data, status, xhr){
// do something here with response;
});
});
});
Example 2: post jquery
$.post( "ajax/test.html", function( data ) {
$( ".result" ).html( data );
});