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
Example
<script src="/JavascriptSpellCheck/Include.js" type= "text/javascript" > </script>
<input type="text" value= "Type Here" id="input1" name="input1" >
<input type="button" value= "SpellCheck" onClick= "spellCheck()">
<script>
function spellCheck()
{
var oSpell = new JavaScriptSpellCheck();
strInput=document.getElementById("input1").value
var result= oSpell.spellCheck(strInput);
if (result==true)
{
alert('Spelling is OK')
}
else
{
var strAlert="Spelling Suggestion Array:\n";
for ( i=0; i<result.length;i++);
{
strAlert+=(i+1)+") "+result[i]+"\n";
}
alert (strAlert);
}
}
</script>
<input type="text" value= "Type Here" id="input1" name="input1" >
<input type="button" value= "SpellCheck" onClick= "spellCheck()">
<script>
function spellCheck()
{
var oSpell = new JavaScriptSpellCheck();
strInput=document.getElementById("input1").value
var result= oSpell.spellCheck(strInput);
if (result==true)
{
alert('Spelling is OK')
}
else
{
var strAlert="Spelling Suggestion Array:\n";
for ( i=0; i<result.length;i++);
{
strAlert+=(i+1)+") "+result[i]+"\n";
}
alert (strAlert);
}
}
</script>
