Version

TextChanged Property (TextEditorClientEvents)

Gets sets name of javascript function which is called after text was changed.
Syntax
'Declaration
 
Public Property TextChanged As String
public string TextChanged {get; set;}
Example
Editor.ClientEvents.TextChanged = "Editor_TextChanged"
Editor.ClientEvents.TextChanged = "Editor_TextChanged";
// The client event 'TextChanged' takes two parameters sender and e
// sender  is the object which is raising the event
// e is the EventArgs

//ID of the editor raising the event is "Editor"

function Editor_TextChanged(sender, e) {
       
    //Gets the reference of the editor
    var editor = $find("Editor");

    //Gets the text in the editor
    var text = editor.get_text();

 }
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also