【发布时间】:2015-06-04 17:59:18
【问题描述】:
我想使用 jQuery UI 中的工具提示功能。当我使用
$('.notice').tooltip();
它不工作,没有任何反应。
我的 HTML 如下所示:
<i title="hello world" id="1" class="fa fa-comment-o notice comment_form"></i>
这很奇怪,因为当我使用它时它可以工作
$(document).tooltip();
我的 HTML 代码来自动态 Ajax 请求。这可能是问题吗?如果是这样,我该如何解决?
【问题讨论】:
标签: javascript jquery ajax jquery-ui tooltip