provided by: 
Originally published at Internet.comThis has been a tutorial that's been sitting in my "working" directory for quite some time. My "working" file is place where I have little blips of code that could, at sometime or another, become a tutorial. Most of the pieces of code don't work. That's why they're in a working directory.
This concept always seemed like something that I could do, but I could never quite get it until I posted the code to the HTML Goodies Discussion groups. Thanks to Jim Young for helping. He reposted a code he created for a client that got the same effect I'll show you here. I didn't use his full code, just the one missing piece that I needed. Thank you Jim - you're a gentleman.
The Effect
I am often asked how to set up a form so that after the user fills in a pre-determined number of characters, the cursor jumps to the next form element all by itself.
Please understand that this only works with browsers version 4.0 and above. I'll tell you why in a moment. But don't let that stop you from installing this on your forms. Lower version browsers will not understand the Event Handler command and will not trigger the functions. That means no errors. Those that have browsers version 4.0 or higher get the effect, those who don't just fill in the form as they normally would...
Read article at Internet.com site