?
Solved

form tab index/order

Posted on 2007-12-01
3
Medium Priority
?
204 Views
Last Modified: 2010-04-21
Hey i have a form on a page, how can i force the first input field to be the first in the tab order and already selected?
0
Comment
Question by:Antonio King
[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
3 Comments
 
LVL 12

Accepted Solution

by:
Sinoj Sebastian earned 2000 total points
ID: 20388787
you can use TABINDEX property to get the taborder

<INPUT id="name" TABINDEX=1>
<INPUT id="email" TABINDEX=2>
etc..

and on the body tag   onload="document.getElementById('name').focus();"
0
 

Author Closing Comment

by:Antonio King
ID: 31412119
Perfect straight forward answer :D thank you
0
 
LVL 12

Expert Comment

by:Sinoj Sebastian
ID: 20389006
Thanks for the Points, Grade and take me to a new level "Master in JavaScript"
:)
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this blog, we’ll look at how improvements to Percona XtraDB Cluster improved IST performance.
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…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
Suggested Courses

800 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