[英]With jQuery UI, how can I check if the tooltip has been enabled or disabled for an element?
Using jQuery UI, I know you can enable tooltips for all elements that have the same class like this: 使用jQuery UI,我知道您可以为具有相同类的所有元素启用工具提示,如下所示:
$('.someClass').tooltip('enable');
and disable them like this: 并像这样禁用它们:
$('.someClass').tooltip('disable');
How can I check the current state of the tooltips for the 'someClass' elements? 如何检查“ someClass”元素的工具提示的当前状态?
您是否尝试过$( ".someClass" ).tooltip( "option", "disabled" );
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.