Wijmo UI for the Web
title Option

Default value: ""

Specifies a value that sets the tooltip's title.

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var returnsValue; // Type:  string
    returnsValue = $(".selector").wijtooltip("option", "title");
    
    // Set value
    var newValue; // Type:  string
    $(".selector").wijtooltip("option", "title", newValue);
        
});
Javascript (Specification) 
var title : string;
Example
//Set tooltip's title to "my title".
$(".selector").wijtooltip("option", "title", "my title");
Remarks
The value can be a string, html code, or a function. If it is a function, then the title will be the function's return value.
Browser Compatibility
7
5
5

See Also

Reference

options type
wijtooltip jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.