I would like to know what's the best way to limit ajax call / time.
I'm running the following js function when the user mouseover
a table row.
function load()
{
$.ajax({
type: "GET",
url: "process/ajax.php",
data: "action=action,
success: function(msg)
{
if(msg!='')
{
displayStuff;
}
}
});
}
Should I create a timestamp and compare it with the previous one?, How can I do that in a global context.