# TextControlChangedCallback Function

> Callback function for the textControlChanged event.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Function
- **Path:** DS Server > Reference > JavaScript API > TextControlChangedCallback Function
- **168 words**
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/textcontrolchangedcallback/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/textcontrolchangedcallback/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/textcontrolchangedcallback/llms-full.txt

---

### Description

Callback function for the [textControlChanged event](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/addeventlistener-method/llms-full.txt).

### Syntax

```javascript
function()
```

### Examples

The following example demonstrates `TextControlChangedCallback` in a practical document-editing workflow. Callback function for the textControlChanged event.

```javascript
function textControlChangedCallback() {
    console.log("The asynchronous editor operation completed.");
}
```

---

## Nearby

- **Previous:** [Javascript: TextCharCollection.remove Method](https://docs.textcontrol.com/ds-server/reference/javascript/textcharcollection/remove-method/llms-full.txt)
- **Next:** [TextControlLoadedCallback Function](https://docs.textcontrol.com/ds-server/reference/javascript/textcontrolloadedcallback/llms-full.txt)
