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.)
Comments
just grabbed it off cvs.trainedmonkey.com
it isn't soup yet.
Dear lord! Are you another one of those people that don't close the last php tag because 'there is no need to' ? I read that some freak was doing it a while back on php-dev, but didn't think more people were 'followers' of this freakish religion ;) Please tell me I'm mistaken
follower? i'm the founder! closing the last php tag is for pedantic weenies.
classic.
Add a comment
Sorry, comments on this post are closed.
please share your accomplishment with the rest of us! :)