SpellCheckAsYouType (SCAYT)

SCAYT allows the user to see and correct misspellings while typing. Misspelled words are underlined. User just needs to right-click a marked word and select a suggestion to replace the word with.

Dynamic form creation with SCAYTTextArea and SCAYTInput


Installation Guide

1. Add element script with src="http://myhost/spellcheck/lf/scayt/loader_Textbox.js" on the page. See sample, line 6.

2. Link css file with href="http://myhost/spellcheck/samples/css/textbox.css" on the page. See sample, line 7.

3. Dynamically create a form. See sample, lines 9-36.

4. Add SCAYTTextArea control to the textarea tag: new scayt.Textarea({ srcNodeRef: textareaNode });. See sample, line 35.

5. Add SCAYTInput control to the input tag: new scayt.Input({ srcNodeRef: inputNode });. See sample, line 34.

Sample