Hey all.

I converting GUI code to HTML and one behavior I'm trying to duplicate is moving to the next element based on tabindex.

Basically, the app will be running in a touch screen environment and for speed, quantities are entered into a fill-in and then an "enter" button is pressed. When the enter button is pressed, focus is then moved to the next quantity field.

I have the tabindex for the quantity fields assigned so I need a way of moving focus to the next tabindex when a button is clicked. I'm thinking it would be something like forcing the tab key event.

I've googled it but couldn't find anything about forcing the tab event.

Any ideas?