/    Sign up×
Community /Pin to ProfileBookmark

cycling through the tab order

Hi, I have assigned a sequence to my objects through tab ordering ie tabindex=n (where n is from 1 through 6) when it gets to the last one, and I tab again, focus is taken to the url. I want focus to return to the object with tabindex=1

I have set every object I do not want the tab to go to to ‘TABINDEX=-1’

Any thoughts? ?

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@KorJun 08.2005 — can we see the code?

insert a condition, something like

if(tabindex==-1){tabindex=6}

...

if(tabindex==7){tabindex=1}

But we must see your code to detail it.
×

Success!

Help @webdeveloper_83 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...