Selection.setfocus() Problem

I am using Selection.setfocus(“inputBox”) to set the focus of an input textbox onLoad. It works, but I can only enter letter characters. I can’t use the backspace or arrow keys. Anyone care to explain why or offer a fix?

Also, some punctuation such as commas don’t work.