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
dkim18Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

lenamtlCommented:
Hi,

Here is a working demo (jQuery) replace the text with correct words and you will see the message
The spelling check is complete
http://www.javascriptspellcheck.com/jquery-spell-check/

I have found this in the documentation .
http://www.javascriptspellcheck.com/Object_Reference
jQuery Functions

 $('#mySelction').binSpellCheckFields(options)	

Open in new window

*True if all fields are spelled correctly
False if the fields contain spelling errors.
Spell checks all field in the selection.
#mySelction can be any jQuery selection of elements
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
JavaScript

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.