<body onload="document,getElementById('userId').focus()">
...

<INPUT type="text" name="userId" id="userId"/>


Alvaro.



On 8/27/07, Cenk <[EMAIL PROTECTED]> wrote:
> Hi,
>
> i want to set focus to an input field on my index.jsp. But i could not
> manage...
>
> Here is the code segment below:
> ...
> <body>
>         <form action="/Login" method="post">
>           <table border="0">
>              <tr>
>                 <td>Login:</td>
>                 <td><INPUT type="text" name="userId" /></td>
>           </tr>
>           <tr>
> ...
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Alvaro Sanchez-Mariscal Arnaiz
Java EE Architect & Instructor
[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to