# HTML5: Enable Spell Checking Using Javascript

> TX Spell .NET spell checking is disabled by default in Web.TextControl. A JavaScript command after the ribbonTabsLoaded event enables it on load. TX Spell .NET must be installed on the server, and the Windows Service requires updating via the TX Text Control setup repair if added later.

> **Note:** This article is outdated and may no longer be accurate.

- **Author:** Bjoern Meyer
- **Published:** 2015-10-08
- **Modified:** 2026-03-05
- **Description:** TX Spell .NET spell checking is disabled by default in Web.TextControl. A JavaScript command after the ribbonTabsLoaded event enables it on load. TX Spell .NET must be installed on the server, and the Windows Service requires updating via the TX Text Control setup repair if added later.
- **2 min read** (264 words)
- **Tags:**
  - HTML5
  - Spell Checking
- **Web URL:** https://www.textcontrol.com/blog/2015/10/08/html5-enable-spell-checking-using-javascript/
- **LLMs URL:** https://www.textcontrol.com/blog/2015/10/08/html5-enable-spell-checking-using-javascript/llms.txt
- **LLMs-Full URL:** https://www.textcontrol.com/blog/2015/10/08/html5-enable-spell-checking-using-javascript/llms-full.txt

---

IMPORTANT: This feature is now part of the JavaScript API:

Javascript: TXTextControl.isSpellCheckingEnabled property

By default, spell checking is disabled when using [TX Spell .NET](https://www.textcontrol.com/product/tx-spell-dotnet-winforms/) in combination with [Web.TextControl](https://docs.textcontrol.com/textcontrol/asp-dotnet/ref.txtextcontrol.web.textcontrol.class.htm). The user can activate it by clicking the *Enable Spell Checking* button in the *View* ribbon tab:

![HTML5: Enable spell checking using Javascript](https://s1-www.textcontrol.com/assets/dist/blog/2015/10/08/a/assets/tx_enable_spell.webp "HTML5: Enable spell checking using Javascript")In order to activate the proofing tools in your application, TX Spell .NET needs to be installed on your development machine or server. If TX Spell .NET has been installed after TX Text Control .NET Server, you have to start the TX Text Control setup again in order to choose repair to update the installed Windows Service (spell checking will be activated and licensed, if a valid TX Spell .NET license is found on your development machine). This article shows in detail how to integrate spell checking to your Web.TextControl based application:

[Web.TextControl and spell checking](https://www.textcontrol.com/blog/2015/02/09/webtextcontrol-and-spell-checking/llms-full.txt)

In order to enable spell checking automatically when initializing TX Text Control, a Javascript command can be used:

```
TXTextControl.addEventListener("ribbonTabsLoaded", function (e) {
    // enable hidden JS interface
    TXTextControl.enableCommands();
    // enable spell checking: 1 = true, 0 = false
    TXTextControl.sendCommand(
        TXTextControl.Command.EnableSpellChecking, 1);
});
```

This command enables spell checking after TX Text Control has been loaded completely. The event *ribbonTabsLoaded* is fired when everything TX Text Control related is loaded and initialized.

---

## About Bjoern Meyer

As CEO, Bjoern is the visionary behind our strategic direction and business development, bridging the gap between our customers and engineering teams. His deep passion for coding and web technologies drives the creation of innovative products. If you're at a tech conference, be sure to stop by our booth - you'll most likely meet Bjoern in person. With an advanced graduate degree (Dipl. Inf.) in Computer Science, specializing in AI, from the University of Bremen, Bjoern brings significant expertise to his role. In his spare time, Bjoern enjoys running, paragliding, mountain biking, and playing the piano.

- [LinkedIn](https://www.linkedin.com/in/bjoernmeyer/)
- [X](https://x.com/txbjoern)
- [GitHub](https://github.com/bjoerntx)

---

## Related Posts

- [Web.TextControl and Spell Checking](https://www.textcontrol.com/blog/2015/02/09/webtextcontrol-and-spell-checking/llms.txt)
- [Securing WebSocket Connections in ASP.NET Core using Sec WebSocket Protocol Header](https://www.textcontrol.com/blog/2025/11/20/securing-websocket-connections-in-aspnet-core-using-sec-websocket-protocol-header/llms.txt)
- [Detect Toggle Button Changes Using a MutationObserver](https://www.textcontrol.com/blog/2021/11/11/detect-toggle-button-changes-using-a-mutationobserver/llms.txt)
- [Angular: Deploying the Backend TCP Service Separately](https://www.textcontrol.com/blog/2020/10/09/angular-deploying-the-backend-tcp-service-separately/llms.txt)
- [Implementing Conditional Table Cell Colors with MailMerge](https://www.textcontrol.com/blog/2020/10/08/implementing-conditional-table-cell-colors-with-mailmerge/llms.txt)
- [Adding a WebSocket Security Middleware to ASP.NET Core Web Applications](https://www.textcontrol.com/blog/2020/05/28/adding-a-websocket-security-middleware-to-aspnet-core/llms.txt)
- [Securing the WebSocketHandler Endpoint in ASP.NET](https://www.textcontrol.com/blog/2020/05/28/securing-the-websockethandler-endpoint-in-aspnet/llms.txt)
- [Creating an ASP.NET MVC DocumentViewer Application With Razor](https://www.textcontrol.com/blog/2020/01/01/creating-an-aspnet-mvc-documentviewer-application-with-razor/llms.txt)
- [Creating an ASP.NET MVC Application With Razor](https://www.textcontrol.com/blog/2020/01/01/creating-an-aspnet-mvc-application-with-razor/llms.txt)
- [Creating Your First ASP.NET Reporting Application](https://www.textcontrol.com/blog/2020/01/01/creating-your-first-aspnet-reporting-application/llms.txt)
- [Creating an ASP.NET Web Forms AJAX Application](https://www.textcontrol.com/blog/2020/01/01/creating-an-aspnet-web-forms-ajax-application/llms.txt)
- [Automatically Reconnect to the Server and Recover the Document](https://www.textcontrol.com/blog/2019/09/05/automatically-reconnect-to-the-server-and-recover-the-document/llms.txt)
- [Service Pack 1 for TX Spell .NET 7.0 Released](https://www.textcontrol.com/blog/2019/05/28/service-pack-1-for-spell-7-released/llms.txt)
- [Deploying the MVC HTML5 Editor to Azure App Services](https://www.textcontrol.com/blog/2018/04/06/deploying-the-mvc-html5-editor-to-azure-app-services/llms.txt)
- [JavaScript API: Working with Merge Fields](https://www.textcontrol.com/blog/2018/03/05/javascript-api-working-with-merge-fields/llms.txt)
- [Technology Preview: Embeddable HTML Widget to integrate Document Editing to Angular, React and other Frameworks](https://www.textcontrol.com/blog/2018/03/01/embeddable-html-widget-for-all-frameworks/llms.txt)
- [Best Practices for Adding Ribbon Tabs, Groups and Buttons to the TXTextControl.Web Ribbon Bar](https://www.textcontrol.com/blog/2017/12/21/best-practices-for-adding-ribbon-content-to-txtextcontrol-web/llms.txt)
- [X15: Adding MS Word Compatible Fields and Form Elements to TXTextControl.Web](https://www.textcontrol.com/blog/2017/12/20/using-ms-word-form-elements-in-txtextcontrol-web/llms.txt)
- [X15: Inserting Client-Side Images using JavaScript](https://www.textcontrol.com/blog/2017/12/14/inserting-client-side-images-using-javascript/llms.txt)
- [Embedding TXTextControl.Web in non-.NET Framework applications like .NET Core and AngularJS](https://www.textcontrol.com/blog/2017/10/23/embedding-txtextcontrol/llms.txt)
- [Proofing Tools Available As ReportingCloud Web API Endpoints](https://www.textcontrol.com/blog/2017/08/23/proofing-tools-available-as-reportingcloud-web-api-endpoints/llms.txt)
- [Sneak Peek X15: Contextual Chart Ribbon Tabs](https://www.textcontrol.com/blog/2017/07/20/sneak-peek-x15-contextual-chart-ribbon-tabs/llms.txt)
- [Sneak Peek X15: Copy to Local Clipboard Support in ASP.NET Version](https://www.textcontrol.com/blog/2017/07/13/sneak-peek-x15-copy-to-local-clipboard-support-in-aspnet-version/llms.txt)
- [Sneak Peek X15: Custom Field Overlays in HTML5-based Text Control](https://www.textcontrol.com/blog/2017/06/21/sneak-peek-x15-custom-field-overlays-in-html5-based-text-control/llms.txt)
- [New ASP.NET MVC DocumentViewer Rolled out to the ReportingCloud Portal](https://www.textcontrol.com/blog/2017/04/22/new-aspnet-mvc-documentviewer-rolled-out-to-the-reportingcloud-portal/llms.txt)
