Hello. Please use the forum's code and formatting tags, and avoid things like "######" in your posts.
What have you already tried? Are you familiar with JavaScript's events and event handlers? You might investigate using the "onkeypress" or related event handlers. The particular keycode being generated will be a property of the Event object.
You can set focus to any particular element by using the "focus()" method.
So: research "JavaScript", onkeypress", "focus" and "Event". Web Searches might be "JavaScript Event object" and "JavaScript onkeypress", etc. Apply what you discover, try it, and come back with any specific questions.
tgreer
Made Her Cry
2,118 posts since Dec 2004
Reputation Points: 227
Solved Threads: 37