WebSpellChecker (WSC)

WSC operates in a separate browser window so your work is not obstructed. Corrected text is automatically returned to the form.

WebSpellChecker (WSC) for any Iframe Editor

Spell Check

Installation Guide

1. Please note that "editable_doc.html" file (see sample, line 17) has been used as a simple example of iframe functionality. Please use yours for testing purposes.

2. Specify WSC URI (see sample, line 6)

3. Define the WSC invoker:

doSpell({ctrl:sMyEditor, lang:sInitialLanguage}), where:
  • sMyEditor {String, mandatory} — textarea instance identifier.
  • sInitialLanguage {String, mandatory} — initial spell check language name.

Now supported: en_US, en_GB, pt_BR, en_CA, fr_CA, fr_FR, de_DE, it_IT, el_GR, es_ES, da_DK, nl_NL, nb_NO, pt_PT, sv_SE, fi_FI .

See sample, lines 8-13.

4. Invoke WSC when you want to check the spelling (see sample, line 18).


    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    <html xmlns="http://www.w3.org/1999/xhtml">
        <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
        //For Licensed version only
		<script type="text/javascript" src="[port]://[your_hostname]/spellcheck/script/ssrv.cgi?cmd=script&doc=wsc"></script>
		//For Hosted version only
		<script type="text/javascript" src="http://svc.webspellchecker.net/spellcheck/script/ssrv.cgi?cmd=script&doc=wsc&customerid=[your_long_customer_ID]"> </script>
        <script type="text/javascript">
            function startSpellCheck(){
				userDictionaryName: sUserDictionaryName,
                customDictionaryName: 1,3001
            <iframe id="myEditor" src="editable_doc.html" > </iframe>
			<input  type="button" value="Spell Check" onclick="startSpellCheck();" />