# Javascript: TXTextControl.footnotes Property

> All footnotes contained in the main text of the document.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 32.0
- **Path:** DS Server > Reference > JavaScript API > Javascript: TXTextControl.footnotes Property
- **207 words**
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/footnotes-property/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/footnotes-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/footnotes-property/llms-full.txt

---

### Description

All footnotes contained in the main text of the document.

### Syntax

```javascript
<FootnoteCollection> TXTextControl.footnotes
```

### Examples

The following example demonstrates `TXTextControl.footnotes` in a practical document-editing workflow. All footnotes contained in the main text of the document.

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

tXTextControl.footnotes.getCount(function(count) {
    console.log("footnotes count:", count);
}, onTxError);
```

### Limitations

Read Only.

---

## Nearby

- **Previous:** [Javascript: TXTextControl.FontUnderlineStyle Enumeration](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/fontunderlinestyle-enumeration/llms-full.txt)
- **Next:** [Javascript: TXTextControl.FormulaReferenceStyle Enumeration](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/formulareferencestyle-enumeration/llms-full.txt)
