I've been asked to support an autotext functionality on our web application, similar to what Word offers. At the core this is simple automatic text search-and-replace as someone types, but there are lots of things that would be nice (backspace to undo the replacement, a pop-up that requires a tab or enter to insert the replacement, etc.).
For example, I'd like to have a textarea where a user can type "nfi" and it would be replaced with "need further information."
Before I go creating this in javascript I figured I'd see if anyone here has solved this problem before. Google searches turn up autocomplete scripts, but that's not exactly what I'm trying to accomplish.
(This is where I'd type "tia" and it would put "Thanks in advance,")
Josh