jquery - Dynamically change the content of the tooltip in kendoui -
i have drag , drop functionality. when element
dragging, want dynamically set position of element , display in tooltip
. how can able using kendoui.
i have defined like:
<div id='drag'><p>drag me</p></div>
i have defined tooltip like:
$("#drag").kendotooltip({ position:"top", content: "initial" });
thne dragging
$("#drag").draggable({ drag: function(){ $("#drag").data("kendotooltip").content("dragging"); }, stop: function(){ $("#drag").data("kendotooltip").content("drag stopped"); } });
and want show tool tip on div
continuously on dragging
. how can appreciated
try 1 friend,
$("#drag").data("kendotooltip").options.content = "set content here..."; $("#drag").data("kendotooltip").refresh();
Comments
Post a Comment