简体   繁体   English

当我更改选择下拉菜单时是否可以显示clueTip工具提示

[英]is it possible to show a clueTip tooltip when i change a select dropdown

i am doing a review of clueTip . 我正在审核clueTip i see this can be used when you hover over some div or when you click on a link but i wanted to see if you can "trigger" showing a tooltip when you click on a certain item in a select dropdown. 我看到当您将鼠标悬停在某个div上或单击链接时可以使用此功能,但是我想查看当您在选择下拉列表中单击某个项目时是否可以“触发”显示工具提示。 Does anyone know if this is possible ? 有人知道这是否可能吗?

You can check the FAQ section for it: http://plugins.learningjquery.com/cluetip/#faq 您可以为此查看“常见问题解答”部分: http : //plugins.learningjquery.com/cluetip/#faq

So there I see: 所以我看到了:

New as of clueTip 1.0.3: How do I programmatically close (hide) a clueTip? clueTip 1.0.3中的新增功能:如何以编程方式关闭(隐藏)clueTip? If you want to trigger a clueTip to close, based on some other interaction, you can use the following code: $(document).trigger('hideCluetip'); 如果您想触发clueTip关闭,则基于其他一些交互,可以使用以下代码:$(document).trigger('hideCluetip');

So I believe you can use this and listen for 'change' event for combobox and show/hide tip. 因此,我相信您可以使用此方法并侦听组合框和显示/隐藏提示的“更改”事件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM