i'm 95% of the way to having a very cool little spellchecker for html forms. one thing i can't figure out how to do is set the selection on a <textarea>, given the character offset where i want to start the selection, and the length of the selection to make. it's not vital, but it would be nice to provide visual feedback of what word is going to be replaced.

i'm a little surprised at how easy it was to make this. i'd always thought it would be more painful, but the code i have is only 145 lines of php, html, and javascript. (and that includes being able to embed the 'spell check' button on any arbitrary form by just using a <script> include.)

« march 18, 2002 1:35pm march 19, 2002 6:00pm »