Wijmo UI for the Web
text Option

Default value: null

Set the text that appears in the editor.

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var returnsValue; // Type:  string
    returnsValue = $(".selector").wijeditor("option", "text");
    
    // Set value
    var newValue; // Type:  string
    $(".selector").wijeditor("option", "text", newValue);
        
});
Javascript (Specification) 
var text : string;
Remarks
Note that this overrides any text that you add in tags inside the textarea object that displays the widget. You can use HTML(or BBCode markup if you set the mode to bbcode) inside the string.
Browser Compatibility
7
5
5

See Also

Reference

options type
wijeditor jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.