简体   繁体   中英

Programmatically learn the results of spellcheck

Hello is there a programmatically(js) way to learn the results of spellcheck='true'?

Eg if this textarea

<textarea class="my-textarea" spellcheck="true" ></textarea>

Has orthographically correct content?

There's a plugin for that:

http://www.javascriptspellcheck.com/

"JavaScript SpellCheck" is the industry leading spellchecker plugin for javascript. It allows the developer to easily add and control spellchecking in almost any HTML environment. You can install it in about 5 minutes by copying a folder into your website.

You could also try this jQuery version (although it's not actively maintained at the time of this writing).

https://github.com/badsyntax/jquery-spellchecker

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM