I am unable to clear kendo tooltip. My code is as follows:
var tooltip = $("#DIV_ID").kendoTooltip();
tooltip.hide();
I also tried destroy event but tooltip is not getting cleared properly.
I am unable to clear kendo tooltip. My code is as follows:
var tooltip = $("#DIV_ID").kendoTooltip();
tooltip.hide();
I also tried destroy event but tooltip is not getting cleared properly.
In order to invoke the method hide
of kendoTooltip
you should do:
tooltip.data("kendoTooltip").hide();
What you do with tooltip.hide();
is hiding the HTML element associated to the tooltip.
In order to destroy the tooltip, you should do:
tooltip.data("kendoTooltip").destroy();
Check the following example: http://jsfiddle.net/OnaBai/f5g7C/
DIV
associated to the tooltipdestroy
the tooltip