• skip to sidebar
  • skip to search box

trainedmonkey

by Jim Winstead Jr.

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.)

» Tuesday, March 19, 2002 @ 2:13pm » 6 comments, add yours
« Monday, March 18, 2002 @ 1:35pm • Tuesday, March 19, 2002 @ 6:00pm »

Comments

please share your accomplishment with the rest of us! :)

» vandaemonlander (link) » Tuesday, March 19, 2002 @ 4:21pm

just grabbed it off cvs.trainedmonkey.com

» vandaemonlander (link) » Tuesday, March 19, 2002 @ 5:27pm

it isn't soup yet.

» jim (link) » Tuesday, March 19, 2002 @ 6:31pm

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

» Joao Prado Maia (link) » Tuesday, March 19, 2002 @ 9:57pm

follower? i'm the founder! closing the last php tag is for pedantic weenies.

» jim (link) » Tuesday, March 19, 2002 @ 10:10pm

classic.

» vandaemonlander (link) » Wednesday, March 20, 2002 @ 12:44pm

Add a comment

Sorry, comments on this post are closed.

  • Home
  • About
  • Archive
  • Bookmarks
  • Photos
  • Projects
  • GitHub
  • @jimw@mefi.social

Dedicated to the public domain by Jim Winstead Jr.