Online Documentation
- Introduction to JavaScript SpellCheck
- Installation
- Installing JavaScript Spell Check
- Trouble Shooting
- Installing Dictionaries
- Your Custom Dictionary
- Use 1: The Spell Check Window
- Opening the Spell Check Dialog
- Hello World Example
- Call Back after Spellchecking
- Testing The Water
- Advanced Example
- Use 2: Ajax Spell Check
- Using the Ajax Spell-Checker
- Testing for AJAX compatability
- AJAX Spell Checker Example
- Use 3: The Spell Check Function
- The JavaScript spellCheck Function
- JavaScript spellCheck Example
- Advanced Settings
- Object Reference
- JavaScript SpellCheck API Overview
- Properties
- setupPath
- languages
- windowLanguage
- hideSummary
- externalCSS
- caseSensitive
- checkGrammar
- ignoreAllCaps
- ignoreWebAddresses
- ignoreNumbers
- newSentenceOnEachNewLine
- useServerSession
- ajaxEnabled
- Methods
- spellCheckWindow
- spellCheckWindowTest
- spellCheck
- ajaxSpellCheck
- Evant Handlers (CallBack Functions)
- callBack
- ajaxCallBack
- Changing Default Property Values
- ASP.Net and JavaScript SpellCheck
- Licenses & Registration
- Free Trial & Registering
- License Agreement
Use 1: The Spell Check Window
The spell check window allows us to spellcheck any form field, string or HTML element in JavaScript. It looks and works much like the Spell-Checker feature in MS Word.
The dialog is feature rich - including grammar checking, personal dictionaries , international support and much more. What's more, you can do this is a few quick steps!
Step 1: Install javascript Spell Check
This only takes a few minutes, Find out how .Step 2: Include the JavaScript SpellCheck file in your web page
This code should normally included in the head section of your web page.
<script src="/JavascriptSpellCheck/Include.js" type="text/javascript" ></script>
Step 3: Call the spell check window
<script type="text/javascript">
var oSpell = new JavaScriptSpellCheck();
oSpell.spellCheckWindow('textarea1')
</script>
To spellcheck a Form Field or HTML Element:
oSpell.spellCheckWindow('textarea1')
//or
oSpell.spellCheckWindow('document.getElementById("textarea1")')
To spellcheck Multiple Elements:
oSpell.spellCheckWindow('textarea1','textarea2')
To spellcheck a variable:
var strMyString='Any string or Variable'
oSpell.spellCheckWindow(strMyString)
oSpell.spellCheckWindow('iframe1.document.body.innerHTML') // Where iframe1 is the id of the iFrame
Advanced Settings:
If you need to set up the spellchecker such as language settings - please refer to the Advanced Reference; .
