# Javascript: MisspelledWord.getIsIgnored Method

> Gets a value which marks the misspelled word as ignored. An ignored misspelled word remains in the collection of misspelled words, but it is not underlined in the text with a red zigzag line

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Method
- **Introduced:** 28.0
- **Path:** TX Text Control .NET Server > Reference > JavaScript API > Javascript: MisspelledWord.getIsIgnored Method
- **440 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/misspelledword/getisignored-method/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/misspelledword/getisignored-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/misspelledword/getisignored-method/llms-full.txt

---

### Description

Gets a value which marks the misspelled word as ignored. An ignored misspelled word remains in the collection of misspelled words, but it is not underlined in the text with a red zigzag line

### Syntax

```javascript
<void> MisspelledWord.getIsIgnored(<RequestBooleanCallback> callback, [<ErrorCallback> errorCallback])
```

### Parameters

| Parameter | Description |
|---|---|
| callback | Receives a value which marks the misspelled word as ignored. |
| errorCallback | Optional. Is called when the operation failed with an error. |

### Examples

The following example demonstrates `MisspelledWord.getIsIgnored` in a practical document-editing workflow. It gets a value which marks the misspelled word as ignored. An ignored misspelled word remains in the collection of misspelled words, but it is not underlined in the text with a red zigzag line.

```javascript
function onTxError(error) {
    console.error("TX Text Control error:", error.msg);
    error.handled = true;
}

function inspectIsIgnored(misspelledWord) {
    misspelledWord.getIsIgnored(
        function(result) {
            if (result) {
                console.log("get is ignored is available.");
            } else {
                console.warn("get is ignored is not available in the current document state.");
            }
        },
        onTxError
    );
}
```

---

## Nearby

- **Previous:** [Javascript: MisspelledWord.getIsDuplicate Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/misspelledword/getisduplicate-method/llms-full.txt)
- **Next:** [Javascript: MisspelledWord.getLength Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/misspelledword/getlength-method/llms-full.txt)
