Solved

Tab Order on Form

Posted on 2001-09-13
2
161 Views
Last Modified: 2010-04-09
Is there a way of specifying the tab index of input fields on a form so that you can control the tab order?

If so is this browser specific?

TIA
0
Comment
Question by:Philip Pinnell
2 Comments
 
LVL 22

Accepted Solution

by:
CJ_S earned 50 total points
ID: 6479187
<input type=text tabindex=1> etc.

It works in IE, but am not sure about netscape...

regards,
CJ
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 6479212
CJ is right about tabindex.  It works for IE4+ and Netscrape 6

For cross-browser you have to use the blur event point to the next field:

<input type="text" name="field1" onblur="document.myform.field2.focus()">

it is a bit of work for a bit for.  All the fields should be named, and then you have to add the onBlur to each one.  Also more difficult to maintain.

Cd&
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question