You need to cache the page that the Ajax call will visit.
For example if you page is ASP.NET, you can add this declaration to your aspx page:
<%@ OutputCache Duration="20" VaryByParam="none" %>
Below is the code I write for the testing:
And below is the testing link in another page:
<a class="tooltip" onmouseover="tooltip.ajax(this, 'test.aspx',null, {position:0});">cached content</a>
or in a SEO friendly way:
<a class="tooltip" href="test.aspx" onclick="return false;" onmouseover="tooltip.ajax(this, 'test.aspx',null, {position:0});">Hijax way</a>
Testing result:
Mouse over the testing link many times, and the number after "Hello" did not change within 20 seconds.
If your question is related to the topic of this post, you can post your question to this page by clicking the "Post a reply" button at left;
If your question is related to the Javascript Tooltip, click:
Ask new question: Javascript TooltipOtherwise navigate to one of the following forum categories, and post your question there.
##