Yes, you can use jquery. The paramters are the following:
URL - the path of a file which the request will be sent
data - data you wish to send
ex.
$("#formID").serialize() - where all the elements inside the form will be sent
success - (data, textStatus, XMLHttpRequest) A callback function that is executed if the request succeeds.
dataType - The type of data expected from the server. ex. json, xml
$.post('test.php', function(data) {
//you can do something in here
$('.result').html(data.message);// Set the HTML contents (data.message) of each element in the set of matched elements.
}, 'json');