【发布时间】:2014-01-22 11:12:31
【问题描述】:
我正在尝试将工具提示放入通过 ajax 加载的表中,我有这个:
$(document).on("mouseover", "tr", function(){
$(this).tooltip({
animation: true,
title: "Data CRM",
placement: "bottom"
});
});
它只有在我悬停几个元素后才有效。有什么想法吗?
谢谢!
【问题讨论】:
-
你能弄点小提琴吗
-
那几个元素是什么?更具体..!
-
如您所见,我将函数分配给所有表行。因此,“少数元素”= 几行表格。