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
AJAX Spell-Checking Source Code Example

<html>
<head>
<title>JavaScript SpellCheck Ajax Example</title>
<script src="/JavascriptSpellCheck/Include.js" type="text/javascript"></script>
</head>
<body>
<input name="input1" id="input1" value="Type Here..." onChange="ajaxTestSpelling()"/>
<span id="star1" style="color:#FF0000; display:none">*</span>
<div id="message1" style="font-size:small"></div>
<script type="text/javascript">
var oSpell = new JavaScriptSpellCheck();
var objStar=document.getElementById("star1")
var objMessage=document.getElementById("message1")
oSpell .ajaxCallBack=function(result)
{
if (result==true)
{
objStar.style.display='none'
objMessage.innerHTML=''
}
else
{
objStar.style.display='inline'
objMessage.innerHTML="Did You Mean : <a href='javascript:updateInput1(\""+result[0]+"\")'>"+result[0]+"</a>"
}
}
function updateInput1(strValue)
{
document.getElementById("input1").value=strValue
objStar.style.display='none'
objMessage.innerHTML=''
}
function ajaxTestSpelling()
{
var strInput=document.getElementById("input1").value
oSpell.ajaxSpellCheck(strInput)
}
</script>
</body>
</html>
