A quick update to my previous response. I have the java script working when added to just the form's OnKeyPress event and the tab stop, while possible, isn't working right.
First, the java code is working fine in FF and Safari but just doesn't want to work in IE so it could be an IE thing or something else I have wrong somewhere.
The TabStop is trickier. In this case it worked in the debugger but when put into production the tabs top was enabled just not in the order I thought it would be. Looking back at the form, the tabstop for the text box is 11 however the tabstop for the button is actually 8.3. The button is on the panel so since the panel doesn't come after the text box, not matter what number I make for the button, it won't come after the text box unless I change the tab order of the entire page. At this point, since all of my staff are Mac users I won't worry about the tabs and will be pleased that the key press is working.
Lark, try publishing the page and attempt to use another browser other than IE if you can to see if your changes work there and then look at what might be causing IE to not function, as I will do when I have time.