473,796 Members | 2,538 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1793
yabba wrote on 25 jun 2004 in microsoft.publi c.inetserver.as p.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************ *********@hotma il.com> wrote in message
news:es******** ******@TK2MSFTN GP09.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.10 9.133.29>,
ex************* *@interxnl.net says...

yabba wrote on 25 jun 2004 in microsoft.publi c.inetserver.as p.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
10560
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 rectangle on these links. It insists on drawing this crazy shape that traces the text, which with small caps looks rather assinine. Firefox handles the same task very gracefully (yeah Gecko!) and I would like to force IE to do the same. The site...
5
3786
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 is done when the form opens; ie, the first control in the taborder which is visible, which is enabled and whose tabstop property is True? I have a form with forty two small subforms and I want to code the Enter event of all the subform controls...
3
2391
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 problem because I only show one button but with the second question the problems start. In the beginning no control has the focus but when the user select an option from the list, the focus is automaticly set on the back button. So when the user...
2
2796
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 not type anything, why
7
8063
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 when the form is loaded. The textbox cannot be the first in the Tab order, since it's not at the top of the window, and it seems silly to start the tab order at it just to fix this issue. I cannot call control.Focus() from Form1_Load() since...
8
1909
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(); document.forgotPassword.securityAnswer.focus();" bcoz after giving correct value by clicking submit button it is going to the same page with some otherfields like Login Name Coompany Id Security Question Security Answer here i need to focus my...
10
7373
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 well, except one thing. When I am not in the program, and the program receives a draw command (from a FIFO pipe), the canvas does not refresh until I click into the program. How do I force it to refresh, or force the window to gain focus? It...
2
2479
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. http://www.littleworksstudio.com/temp/usenet/focus.html To simulate the problem, just enter or change the "first" textbox and either click or tab to another control., it is tied to the onchange event. An alert box that simulates the "warning". When you close it the focus will not move...
3
7047
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" event so the combobox has not longer the focus regarding this event.
1
2718
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 press the tab key nothing initially seems to happen, I know nothing should because I set the tabstop to false, but to my surprise, when I then click the button again a focus rectangle appears. This I do not want. Any Ideas on how to stop this...
0
9684
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9530
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10236
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10182
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7552
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6793
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5577
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4120
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2928
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.