/    Sign up×
Community /Pin to ProfileBookmark

How to control tabIndex

Hi All,
I am very new to JavaScript. I have one HTML page which three buttons.I can use tab to move the focus from one button to other button. If user click any of the button i create one dialog. As dialog is there we can not click on any of the button presented in the page. But when user does tab browser move the focus to the button user can press the button using space bar. How to control this situation.

Please help me to resolve this issue

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@JMRKERSep 14.2009 — I find it very difficult to read minds in this day and age. Perhaps I had the ability in a past life, but for now I rely on information provided. Do you have some code to look at?
Copy linkTweet thisAlerts:
@venkata_kesavaauthorSep 14.2009 — Sorry JMRKER, I do not have sample code right now. I am looking for idea on how to control the tab(key board key) movement only bind to the dialog control.Not to the inactive page
×

Success!

Help @venkata_kesava 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 5.25,
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: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

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

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...