473,387 Members | 1,572 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

focus/tab question

I am building an asp form with various elements...

<td tabindex=[x]>blablabla</td>

Where the [x] is the order I want, so far so good and using the tab key
provides the desired results however...

When I *click* on one of the elements the tab order is not updated and so the
next tab key jumps to wherever tabbing left off.

Is there a way to use onfocus() or something to update the tab order so the
next tab will focus on the next element after the *clicked* element?

Thanx for any help


Jul 19 '05 #1
5 1780
yabba wrote on 25 jun 2004 in microsoft.public.inetserver.asp.general:
I am building an asp form with various elements...

<td tabindex=[x]>blablabla</td>

Where the [x] is the order I want, so far so good and using the tab
key provides the desired results however...

When I *click* on one of the elements the tab order is not updated and
so the next tab key jumps to wherever tabbing left off.

Is there a way to use onfocus() or something to update the tab order
so the next tab will focus on the next element after the *clicked*
element?


This is a clientside problem and has nothing to do with serverside ASP.

Please ask and follow up on a clientside NG.

==============

btw, you cannot tab [or give focus to] a <td>, only input fields.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jul 19 '05 #2
This is an HTML issue, and would be happening whether you were using
ColdFusion, ASP, PHP, CGI, etc. etc.

You'll have better luck with client-side form/GUI questions in a client-side
newsgroup...

--
http://www.aspfaq.com/
(Reverse address to reply.)


"yabba" <RE*********************@hotmail.com> wrote in message
news:es**************@TK2MSFTNGP09.phx.gbl...
I am building an asp form with various elements...

<td tabindex=[x]>blablabla</td>

Where the [x] is the order I want, so far so good and using the tab key
provides the desired results however...

When I *click* on one of the elements the tab order is not updated and so the next tab key jumps to wherever tabbing left off.

Is there a way to use onfocus() or something to update the tab order so the next tab will focus on the next element after the *clicked* element?

Thanx for any help

Jul 19 '05 #3
In article <Xn********************@194.109.133.29>,
ex**************@interxnl.net says...

yabba wrote on 25 jun 2004 in microsoft.public.inetserver.asp.general:
I am building an asp form with various elements...

<td tabindex=[x]>blablabla</td>

Where the [x] is the order I want, so far so good and using the tab
key provides the desired results however...

When I *click* on one of the elements the tab order is not updated and
so the next tab key jumps to wherever tabbing left off.

Is there a way to use onfocus() or something to update the tab order
so the next tab will focus on the next element after the *clicked*
element?
This is a clientside problem and has nothing to do with serverside ASP.

Please ask and follow up on a clientside NG.

==============

btw, you cannot tab [or give focus to] a <td>, only input fields.


actually you can... any form element



--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)


Jul 19 '05 #4
> >btw, you cannot tab [or give focus to] a <td>, only input fields.

actually you can... any form element


Regardless, this has ABSOLUTELY NOTHING to do with ASP...
Jul 19 '05 #5
yabba wrote:

btw, you cannot tab [or give focus to] a <td>, only input fields.


actually you can... any form element


I was unaware that <TD> is a form element.

Oh -- and like Aaron says...
http://www.aspfaq.com/etiquette.asp?id=5001

--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.
Jul 19 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Chris | last post by:
I'm using eight links listed horizontally as a menu on my site. I'm using font-variant:small-caps and they are padded so that they mimic buttons. My gripe is with the way IE handles the focus...
5
by: Melissa | last post by:
1. Is there a way to programatically remove the focus from the form; ie, so the focus is not on any control on the form? 2. Is there a way to programatically set the focus to the same place as...
3
by: Frederik Vanderhaegen | last post by:
Hi, I've written a sort of wizard in which the user has to answer some questions. This wizard contains a radiobuttonlist en two buttons (back and next). With the first question there's no...
2
by: joe | last post by:
Question about javascript -> onblur='self.focus' I use the method <body onblur='self.focus'> to keep the child browser always on the top , it success, but the textbox inside the child browser can...
7
by: Zytan | last post by:
I want to set a control in a form to have the default focus. This is not the accept button -- that's set to a button when is 'clicked' when you press ENTER. I want a textbox to have the focus...
8
by: Nivetha | last post by:
I have requirement like the first page contains LoginName and CompanyName after typing the value clicking Submit button so i am giving in body onload="document.forgotPassword.loginName.focus();...
10
by: blaine | last post by:
Hey everyone! I'm not very good with Tk, and I am using a very simple canvas to draw some pictures (this relates to that nokia screen emulator I had a post about a few days ago). Anyway, all is...
2
by: Jonathan N. Little | last post by:
As part of a JavaScript precheck form validation I noticed a problem with trying to return focus to the field with an error. I have setup a demo page. ...
3
by: Simon | last post by:
Dear reader, On the event "Lost focus" I make the ComboBox invisible but the massage pops up "You can't hide a control that has the focus." But this code is written in the "Lost focus"...
1
by: john ciriello | last post by:
I created a form and put a button and a label on it. I set the tabstops to false. When I first run it I can click the button and there is no focus rectangle. Which is what I want. However, if I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.