View Full Version : Set Focus on textbox in another frame

08-02-2005, 03:25 PM
Here's the scenario:
The user enters an Item# in a text box for a product and hits the enter key. It submits the item to another frame that is a shopping cart.

I'm trying to set focus on the Item# text box after the user hits the enter key. Is there a way to do this? I'm thinking i can clear the text box with using the Onfocus event, but i need a way to set the focus on the text box for the user. Maybe some javascript can handle this?

thanks, tim

08-02-2005, 04:08 PM