Solved

Tab Order on Form

Posted on 2001-09-13
2
156 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

744 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now