views:

268

answers:

3

I have an asp-based website which I would like to add spell checking capabilities to the textarea elements on the page. Most of the pages are generated from an engine, though I can add JavaScript to them. So my preferred solution is a JavaScript-based one. I have tried JavaScriptSpellCheck and it works okay, though I would like to see what some of my other options may be. I also found spellchecker.net but at $3500 for a server license it seems excessive.

Spell checking can be in a separate window and must support multiple languages (the more the better). Ultimately I would like to send the spell check object a collection or delimited string of textarea names or id's (preferably names as they already exist in the pages) and have it spell check all of them, updating the text as spelling is corrected.

+2  A: 

Check out using Google's api for this: http://www.asp101.com/articles/jeremy/googlespell/default.asp

Jasie
That is very interesting but there is a limit of 1000 connections per day. During peak usage, it would be easy for us to exceed this.
Brettski
+1  A: 

If I am not wrong, Firefox's English Dictionary for Spell checking takes around 800KB of data.

If you like to do everything in javascript for full feature Spell Checking Engine, its mean, you need to load that 800KB data in every Page Loads. Its really not good idea.

So, Instead of doing that in javascript, send the data to server with ajax and check it at server side and return it back, thats the best way.

S.Mark
That would explain the loading delay of JavaScripSpellCheck
Brettski
+1  A: 

If i was you i'd look into something like aspell - this is used as one of the supported spellchecking backends in tinymce. Personally i use pspell because its integrated into PHP.

EDIT

Theres an aspell integration here that has a php or a Perl/CGI version, might be worth checking out

seengee
That seems to be a great library, though I would have to code the entire solution into my app. Not that I mind, I would just don't want to reinvent the wheel if there are apps available which can be referenced by my application.
Brettski
added an example aspell integration above, might be worth checking out
seengee