# Javascript: MisspelledWordCollection.getItemAtInputPosition Method

> Gets the misspelled word of the specified kind at the current text input position. If there is no misspelled word, the next possible word of is returned. If there is no misspelled word of the specified kind between the current input position and the end of the text, the first word of the specified kind is returned.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Method
- **Introduced:** 28.0
- **Path:** DS Server > Reference > JavaScript API > Javascript: MisspelledWordCollection.getItemAtInputPosition Method
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/misspelledwordcollection/getitematinputposition-method/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/misspelledwordcollection/getitematinputposition-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/misspelledwordcollection/getitematinputposition-method/llms-full.txt

---

## On This Page

- [Description](https://docs.textcontrol.com/ds-server/reference/javascript/misspelledwordcollection/getitematinputposition-method/#description)
- [Syntax](https://docs.textcontrol.com/ds-server/reference/javascript/misspelledwordcollection/getitematinputposition-method/#syntax)
- [Parameters](https://docs.textcontrol.com/ds-server/reference/javascript/misspelledwordcollection/getitematinputposition-method/#parameters)
- [Examples](https://docs.textcontrol.com/ds-server/reference/javascript/misspelledwordcollection/getitematinputposition-method/#examples)

---

## Nearby

- **Previous:** [Javascript: MisspelledWordCollection.getCountOf Method](https://docs.textcontrol.com/ds-server/reference/javascript/misspelledwordcollection/getcountof-method/llms.txt)
- **Next:** [Javascript: MisspelledWordCollection.getItemAtLocation Method](https://docs.textcontrol.com/ds-server/reference/javascript/misspelledwordcollection/getitematlocation-method/llms.txt)
