form elements have focus() method in javascript. plain html doesn't allow this.
Cheers,
Max.
2007/12/5, Minh D. Tran [EMAIL PROTECTED]:
Hi Everyone,
I just have a question regarding forms. How do I set the cursor to default
on a certain form input field?
Thanks,
M
On 12/5/07, Minh D. Tran [EMAIL PROTECTED] wrote:
I just have a question regarding forms. How do I set the cursor to default
on a certain form input field?
Do you mean you want to automatically give focus to a particular form field
when the page loads? You can simply call the .focus() method
By default, forms fields take focus from the top-down and left to
right. All you have to do, is line them up in the order you want them
to have focus.
-chuck
=
On Dec 5, 2007, at 9:47 AM, Minh D. Tran wrote:
Hi Everyone,
I just have a question regarding
tabindex determines the order in which people tab through a form. I
would prefer this to using javascript because it avoids problems with
browsers that don't recognize the javascript.
http://www.w3.org/TR/html4/interact/forms.html#h-17.11
Michael Horowitz
Your Computer Consultant
Michael Horowitz wrote:
tabindex determines the order in which people tab through a form.
The default tabindex simply follows the source order, as mentioned before.
I would recommend not specifying the tabindex unless you are prepared
to spend a lot of time doing everything, as it overrides
Michael Horowitz wrote:
tabindex determines the order in which people tab through a form.
The default tabindex simply follows the source order, as mentioned before.
I would recommend not specifying the tabindex unless you are prepared
to spend a lot of time doing everything, as it overrides the
tabindex determines the order in which people tab through a form. I
would prefer this to using javascript because it avoids problems with
browsers that don't recognize the javascript.
http://www.w3.org/TR/html4/interact/forms.html#h-17.11
Michael Horowitz
Your Computer Consultant
That is not really true. Form fields take focus from the order they are
in the code. They can be positioned anywhere on the screen using CSS.
Without intervention they will follow this order regardless of top,
bottom, left or right on the screen.
'Lining them up' would (hopefully) be done with
That is not really true. Form fields take focus from the order they are
in the code. They can be positioned anywhere on the screen using CSS.
Without intervention they will follow this order regardless of top,
bottom, left or right on the screen.
'Lining them up' would (hopefully) be done with
form elements have focus() method in javascript. plain html doesn't allow this.
Cheers,
Max.
2007/12/5, Minh D. Tran [EMAIL PROTECTED]:
Hi Everyone,
I just have a question regarding forms. How do I set the cursor to default
on a certain form input field?
Thanks,
M
On 12/5/07, Minh D. Tran [EMAIL PROTECTED] wrote:
I just have a question regarding forms. How do I set the cursor to default
on a certain form input field?
Do you mean you want to automatically give focus to a particular form field
when the page loads? You can simply call the .focus() method
Hi Everyone,
I just have a question regarding forms. How do I set the cursor to default on a
certain form input field?
Thanks,
M
-
Looking for last minute shopping deals? Find them fast with Yahoo! Search.
By default, forms fields take focus from the top-down and left to
right. All you have to do, is line them up in the order you want them
to have focus.
-chuck
=
On Dec 5, 2007, at 9:47 AM, Minh D. Tran wrote:
Hi Everyone,
I just have a question regarding
13 matches
Mail list logo