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

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -