I am trying to load external content in the tooltip. But it does not work. Does anybody see the error or is it impossible to load dynamic content in the tooltip?
trigger:
<a-tag id="download_now" title="System tooltip for search engines" href="test.htm">Download now
<div class="tooltip">
<div class="contentWrap"></div>
</div>
call:
trigger:
<a-tag id="download_now" title="System tooltip for search engines" href="test.htm">Download now
<div class="tooltip">
<div class="contentWrap"></div>
</div>
call:
$(document).ready(function() {
$("#download_now").tooltip({
effect: 'slide'
, onBeforeShow: function() {
var wrap = this.getContent().find(".contentWrap");
wrap.load(this.getTrigger().attr("href"));
}
});
