<a href="link.doc">link</a>
$('.link').on('click', function(){
$.ajax({
url: 'count.php',
type: 'post',
data: {pres: 'value'},
success: function(response){
console.log(response);
}
});
return false;
})