Editor.ClientEvents.ValueChanged = "Editor_ValueChanged"
Editor.ClientEvents.ValueChanged = "Editor_ValueChanged";
// The client event 'ValueChanged' takes two parameters sender and e // sender is the object which is raising the event // e is the TextEditorValueChangedEventArgs //ID of the editor raising the event is "Editor" function Editor_ValueChanged(sender, e) { //Gets the old value in the editor var oldValue = e.get_oldValue(); //Gets the new value in the editor var newValue = e.get_value(); window.status = "Old Value : " + oldValue + " ; New Value : " + newValue; }