javascript - how to disable tooltip when button is disabled on click -
i've button this
<asp:button class="ico-back" title="back" id="btnattritionback" runat="server" disabled="disabled"></asp:button>   when focus on button shows tooltip, otherwise doesn't show. here on click event of button in javascript i'm disabling it. after losing focus doesn't hide tooltip.
$("input[id$='btnattritionback']").on("click", function (e) {     loadhrdata("all");     //$("#" + btnattritionback).removeattr("title");     $("#" + btnattritionback).prop("disabled", true);     e.preventdefault(); });   i've tried disabling doesn't work.
you need set clientidmode static in aspx markup. default, id rendered browser gets stuff put before it.
Comments
Post a Comment