我使用easyTooltip:http://pastebin.com/UjaDyE27
它工作正常。 HTML看起来像这样:
<ELEMENT class="tip">Something</ELEMENT>
<div class="tipContent">ToolTip Content</div>
这样可以正常工作,但是当我用ajax加载html时 - 它不起作用! 有什么问题?
谢谢,对不起我的英文
答案 0 :(得分:2)
加载ajax内容后可以取悦此方法
$(".tip").each(function() {
$(this).easyTooltip({
content: $(this).next('.tipContent').html()
});
});