Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Input box focus problem
Message
 
To
20/01/2003 20:10:34
Alan Harris-Reid
Baseline Data Services
Devon, United Kingdom
General information
Forum:
Internet
Category:
HTML
Miscellaneous
Thread ID:
00743624
Message ID:
00743731
Views:
9
>I have a number of HTML input boxes on a web-page, with their tab-order determined by a tabindex clause for each input box.
>
>a) When the page is first displayed, it is not clear which text box is first in tab order. How can I ensure that when page is first displayed, the 'i-bar' cursor is shown flashing in the first input box?
>
>b) The page has a selection option list as the 3rd object in tab order, but if there is a pre-selected item in the list, the list becomes the first-highlighted object. Assuming I want a preselected option in the list, once again, how can I ensure that textbox 1 is the first to receive focus.
>
>I would prefer a HTML-only solution, but failing that a JavaScript solution will do.
>
>Any help would be appreciated.
>
>Alan Harris-Reid

A very small bit of javascript is needed and they finally did it on the UT... look at the source for the main page of the UT and search for focus.
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform