How to make jQueryUI tooltip apply only on focus

Mark W picture Mark W · Nov 5, 2012 · Viewed 18.8k times · Source

How can I make the new JqueryUI tooltip visible only on focus: At the moment its on focus and on hover. I believe this is since JqueryUI 1.9

Answer

lxgreen picture lxgreen · Feb 21, 2013

A bit shorter way:

$(".selector").tooltip().off("mouseover mouseout");