Question

I am new to web development and just trying to add spelling suggestion to a textarea. I really don't know what I am going to need for this, need to write the code myself or use a third party library etc. Can someone suggest me how to add this functionality to a simple HTML page containing a textarea. I want when I write a misspelled word in text area, some suggestions matching that word should appear in dropdown.

Était-ce utile?

La solution

Well autocorrect in the web page can be achieved by JavaScript for sure.

There are some nice frameworks for this, probably you could see this:

https://github.com/sanisoft/jQuery-auto-correct

For only spellchecking (despite built-in browser checking):

http://www.javascriptspellcheck.com/JQuery_SpellCheck_Plugin

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top