Callback after Spell Checking
After you have spell Checking using the SpellCheck window, you may want to perform an operation in JavaScript such as:
- Submitting a form
- Alerting the user with a message
- Any other script you may wish to call
This is very easy; simply set the JavaScript SpellCheck callBack function.
var oSpell = new JavaScriptSpellCheck()
oSpell.callBack=anyFunctionName
Example 1: Alerting the user
Example 2: Submitting a Form
|