**I am having a tricky question that is I want to make a ajax call only 5 times per hour.I don't want to make 6th request within that hour.But after one hour exactly, I again make five ajax call with again one hour.I am using jquery some code I wrote like below.Any help? **
function getBubbles(){
$.ajax({
type : 'POST',
url : '/PostData',
data : data,
success : function(response){
console.log(response);
}
});
}