How To go to next if i click TAB key?

Hi All,

In my application, some times if i click tab key it is not moving to next item, it is going to some other items in a same Page.

Please advise me how to overcome this problem.
BhanuSVSAsked:
Who is Participating?
 
haloexpertsexchangeConnect With a Mentor Commented:
if what you wanted was all in a form you could dynamically set the tab index using the form.elements array but for any thing else, you could try document.getElementsByTagName('*') which should give you an array that has every element on the page that you can loop through.
0
 
haloexpertsexchangeCommented:
what you need to do is to change the tab index on the elements.

http://www.w3schools.com/jsref/prop_html_tabindex.asp
0
 
BhanuSVSAuthor Commented:
Hi Halo,

Thanks For u r advise,

But the application is having lot of items, 70/80 including tabs,buttons,text items, so it is some difficult to add for all the items in every page, can u plz suggest me any easy way to do this if possible.
0
 
leakim971PluritechnicianCommented:
Read this : http://reference.sitepoint.com/html/select/tabindex

By default, the natural tabbing order will match the source order in the markup.
0
 
BhanuSVSAuthor Commented:
thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.