Do more with
$.ajax({
url: '/path/to/the/page/which-querys-your-data.php',
data: 'some data in a key-value manner',
error: function (XMLHttpRequest, textStatus, errorThrown) {
console.log(textStatus+' '+errorThrown);
},
success: function(data) {
$('.class_of_element_where_the_data_goes').html(data);
}
});
Premium Content
You need an Expert Office subscription to comment.Start Free Trial