...

View Full Version : Disable tabbing on all page elements EXCEPT...



tho
09-19-2011, 05:28 PM
I have a page with a lot of textual elements, textbox/radiobutton/checkbox prompts and a couple of buttons.

I used the tabIndex property of the prompts to set a tabbing order, but unfortunately further tabbing also cycles through the static textual elements present on the page.

How do I prevent that? How can I make tabbing cycle through my prompts and the cancel/finish buttons only? I am using (and targeting) IE8 if it matters. Thanks!

blaze4218
09-19-2011, 05:32 PM
I am using IE8 if it matters.
Only if you don't care what the end user is using...

tho
09-19-2011, 05:35 PM
Only if you don't care what the end user is using...

Fixed; thanks.

blaze4218
09-19-2011, 05:43 PM
I'm a little curious about the solution...

tho
09-20-2011, 01:40 PM
I was looking at the page source of my form, and I realized that I want to skip tabbing through all objects of the class "textItem". Can someone help?

tho
09-21-2011, 02:03 PM
Anyone?

blaze4218
09-21-2011, 04:03 PM
I used the tabIndex property of the prompts to set a tabbing order, but unfortunately further tabbing also cycles through the static textual elements present on the page.

Could you maybe show the code you have already? When you say "static textual elements" are you talking about elements that never accept user input? because if that is the case you could maybe just use


onfocus="this.blur()"

and the next tab event would just skip to the next element...



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum