I have a form that has 4 <INPUT> elements in it each with a unique id. The page loads with the <INPUT> id = 1 with focus. If a tab is done immediately without entering anything in this INPUT text box then there are no other elements in the form enabled. Hence the TAB sends focus to the address bar. But if something is typed in for <INPUT> text box id = 1 then the second element which is a <INPUT> text box is enabled. Hence the TAB from the first <INPUT> after some information is entered ought to go to the second <INPUT> text box id = 2. The remaining elements are not enabled yet. Some information needs to be added to the second <INPUT> text box id = 2. But if not TAB again will send to address bar.
This is a description of the trouble I am having as I TAB through FORM elements where some of the elements can be disabled. But I need to know the next enabled element from the currently enabled element that a TAB is going to go to. Is this too complicated? Can it be done with JavaScript? Thanks.
--
George Hester
__________________________________