# InputPositionChangedCallback Function

> Callback function for the inputPositionChanged event.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Function
- **Introduced:** 24.0
- **Path:** TX Text Control .NET Server > Reference > JavaScript API > InputPositionChangedCallback Function
- **175 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/inputpositionchangedcallback/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/inputpositionchangedcallback/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/inputpositionchangedcallback/llms-full.txt

---

### Description

Callback function for the [inputPositionChanged event](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/addeventlistener-method/llms-full.txt).

### Syntax

```javascript
function(<InputPositionChangedEventArgs> args)
```

### Examples

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

```javascript
function inputPositionChangedCallback(args) {
    console.log("args:", args);
}
```

---

## Nearby

- **Previous:** [Javascript: InputPosition.setInactiveMarker Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/inputposition/setinactivemarker-method/llms-full.txt)
- **Next:** [InputPositionChangedEventArgs Object](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/inputpositionchangedeventargs/llms-full.txt)
