Wijmo UI for the Web
content Option

Default value: ""

Sets the tooltip's content.

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var returnsValue; // Type:  string
    returnsValue = $(".selector").wijtooltip("option", "content");
    
    // Set value
    var newValue; // Type:  string
    $(".selector").wijtooltip("option", "content", newValue);
        
});
Javascript (Specification) 
var content : string;
Example
//Set tooltip's content to "my content".
$(".selector").wijtooltip("option", "content", "my content").
Remarks
The value can be a string, html code, or a function. If it is a function, then the content 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.