jQuery UI Tooltip won't close after click on IE11 -


i have following code:

<a class="btndelete" href="linkhere" onclick="opendialog(this); return false;" title="delete">delete</a>  function opendialog() {     $("#dialog-item-could-not-be-deleted").dialog({         modal: true,         title: 'delete',         zindex: 10000,         autoopen: true,         width: 'auto',         resizable: false,         closetext: 'close',         buttons: {             ok: function ()             {                 $(this).dialog("close");                 $('.btndelete').tooltip("close");             }         },         close: function (event, ui)         {             $(this).hide();             $('.btndelete').tooltip("close");         }     }); } 

the code above isn't complete, that's not point.

the idea on firefox, tooltip closes after call $('.btndelete').tooltip("close");. on ie doesn't.

i looked in debugger , apparently creates instance of tooltip on dialog close.

on ie loks this:

tooltip

i have no idea how stop this.

the creation code tooltips this:

$('.btndelete').tooltip().click(function () {     $(this).tooltip("close"); }); 

i have found solution: tabindex = -1

<a tabindex="-1" title="delete" class="btndelete" onclick="opendialog(this, true); return false;" href=".../delete/43">delete</a> 

Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -