Avatar of dkim18
dkim18
 asked on

JavaScript SpellCheck - displaying popup message if there are not misspelled words

Hi Experts,

I am testing a trial version of JavaScript SpellCheck (http://www.javascriptspellcheck.com/) and have a question.

This is live demo with source-code(http://www.javascriptspellcheck.com/):

 <script type='text/javascript' src='/JavaScriptSpellCheck/include.js' ></script>

    <script type='text/javascript'>$Spelling.SpellCheckAsYouType('myTextArea')</script>

    	

    	<textarea name="myTextArea"  id="myTextArea" cols="30" rows="4" style = 'width:500px;height:200px;margin-bottom:20px'>

    		This this is a simple exampl of Spell-checking As-You-Type using javascript spellcheck.

    		It works in almost any browser, and supports upto 24 international languages.

    		The button bellow shows an alternative way to spellcheck using javascript spellcheck - using a dialog iwndow!

    		

    	</textarea> 

    	

    <input type="button" value="Spell Check in a Dialog" onclick="$Spelling.SpellCheckInWindow('myTextArea')" />

Open in new window

 

If you just delete all in the text area and enter spell correct words and hit the 'Spell Check in a Dialog' button, the dialog popup will flash briefly and disappear. I am trying to figure out if there is way to popup message if there are not misspelled words.

Is there any way to detect if this $Spelling.SpellCheckInWindow('myTextArea') closes the dialog windows by itself?

Thanks in advance
JavaScriptHTMLScripting Languages

Avatar of undefined
Last Comment
lenamtl

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
lenamtl

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy