View Full Version : AutoCorrect for <textarea>
Astro-Boy
10-13-2004, 03:49 AM
Quick script I threw together a while back. Mimics the AutoCorrect behaviour of MS Word. The list of corrections was exported from MS Word via some obscure macro that I have since lost.
Has worked in all browsers I've tested with save Netscape Navigator.
ArcticFox
10-15-2004, 04:05 AM
Sorry for ignorance, but what does it do? Check for spelling? :o
Sorry for ignorance, but what does it do? Check for spelling? :o
if you type "teh" it will convert to "the"
There are certain things I would change in the script(such as using regexp.test([str]) and some other minor stuff) but overall it's a cool script..
stann
06-11-2005, 10:56 AM
I think your script is terrific Astro-Boy! One query - I notice that it works just fine when typing at the end of a passage of text, however if I put the cursor anywhere within the passage of text already typed, the autocorrection does not work. Is this something which can be easily modified, please?
Keep up the great work!!
stann
06-11-2005, 11:01 AM
Adding this bit because I forgot to subscribe to this thread when I posted above. :thumbsup:
JamieR
06-11-2005, 11:37 AM
...you can edit posts :)
stann
06-11-2005, 04:02 PM
Thank you weazel. Next time I'll edit post where needed. :)
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.