Wijmo UI for the Web
setText Method
The text to show in the editor.
Sets the text to display in the editor.
Syntax
Javascript (Usage) 
$(function () {
    var returnsValue; // Type:  any
    // Parameters
    var text; // Type:  string
    
    returnsValue = $(".selector").wijeditor("setText", text);
});
Javascript (Specification) 
function setText( 
   text : string
) : any;

Parameters

text
The text to show in the editor.
Remarks
You can use the example code in a click function linked to a button, and replace any existing text in the editor with your text.
Browser Compatibility
7
5
5

See Also

Reference

wijeditor type
wijeditor jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.