Skip to content

Dynamically change Tooltip Text #36

@jschnarel

Description

@jschnarel

Needing to dynamically change the tool tip on the fly, I added this to my version, just above the "show" function:
resetTooltip: function(t) {
this.title = t;
if (this.$tipsy) {
this.$tipsy.remove();
}
this.ready = false;
},

Call it this way:
$('#objId').data('tooltipsy').resetTitle("new tooltip text");

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions