Tabbing to new Fields

In a table with many text/select fields, pressing the tab button will take you left to right. How can I set it so tabbing will go where i please?

I tried

onkeydown="if(event.keyCode==9){theNextField.focus();}"

where theNextField is the field I'd like to enter after the tab. This behaved erratically and made JS throw exceptions.

[380 byte] By [vinays84a] at [2007-11-26 15:58:31]
# 1
You might try using the "tabindex" property of these controls.You can then specify the order in which they will be visited. http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/tabindex.asp?frame=true
evnafetsa at 2007-7-8 22:19:36 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
Simple and easy. Thank you.
vinays84a at 2007-7-8 22:19:36 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...