jquery ui - Undesired effect on focusout and mouseover - jQueryUI's tooltip -
i'm using jqueryui's tooltip , strange behavior when mouseover
or focusout
events happen. if try lot of times, you'll see, including tooltip stops working.
<input id="test" type="text" title="." /> $('#test').tooltip({ disabled: true, track: false, show: { effect: 'highlight' }, open: function (event, ui) { var tipelement = $(this); settimeout(function () { $(ui.tooltip).hide(); tipelement.tooltip('disable'); tipelement.tooltip('close'); }, 7000); } }); $('#test').on('focusout', function () { $(this).tooltip("option", "content", 'texto.'); $(this).tooltip('enable'); $(this).tooltip('open'); $(this).focus(); });
Comments
Post a Comment