Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尽可能密切地关注文档,但我无法让工具提示正常工作。我究竟做错了什么?
我已经尝试了很多东西。这是我在示例文件中尝试过的一些内容。
http://anunexpectacle.com/micros/
我现在很绝望。请给我整理一下。
看起来你的选择器是错误的。当我使用它时,出现了工具提示:
$("[rel=tooltip]").tooltip();
请注意,它会$("tooltip")查找 HTML 标签<tooltip>something</tooltip>,但在这种情况下(我猜),您的意思是定位具有属性的链接rel=tooltip。
$("tooltip")
<tooltip>something</tooltip>
rel=tooltip