Solved

Tab Order on Form

Posted on 2001-09-13
2
172 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this. Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it i…
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

696 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