Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Dynamic tabIndex

 
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a dropdown. I need to set the tabIndex of some fields on the basis of a value in drop down.

for example ...If selected value is say "Brij" in dropdown then I set field "A"s tabIndex to "10"
When I select value say "Dinesh" in dropdown I change the tabIndex of "A" to say 8.

But when I again select "Brij" then tabing order is not working.

the way I am changing tabindex is


Need help.
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It does not work does not really give us any information to go off on. What does not work about it? What browser has the problem?

Eric
 
Ranch Hand
Posts: 249
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
on what event of the drop down box are you changing the tabIndex ??? onkeypress, onmousedown, onmouseup ???
reply
    Bookmark Topic Watch Topic
  • New Topic