Alejandro Romero wrote:
> As you haven't answered me, I suppose this is not the correct newsgroup 
> to make the question.
> Please, could anybody tell me where can I post my question.
> 
> 
> Thanks beforehand
> 
> Alejandro
> Santiago - Chile
> 
> ----------------------------------------------------------------------------------- 
> 
> OS: Windows 2000 Professional
> Navegator: Mozilla 1.0 - Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; 
> rv:1.0.0) Gecko/20020530
> 
> The problem:
> I have three boxes type text and when the user press <TAB> from the 
> first box the focus should appear in the third box. The problem is that 
> appear once and then the point goes to the second (this box should be 
> unreachable). After this, I can write in the disabled box and the 
> pointer never appears in the third box. The related code for this page is:
> 
> <html>
>    <head>
>       <title>Problem with the focus</title>
>       <script language="JavaScript">
> 
>          function putfocus()
>          {
>             document.oForm.w_text3.focus();
>          }
> 
>       </script>
>    </head>
>    <body>
>       <form name="oForm" action="#" target="_top" method="post">
> 
>          Input box:<input type="text" name="w_text1" value="">
>          &nbsp;&nbsp;&nbsp;&nbsp;Disabled box:<input type="text" 
> name="w_text2" value="Disabled" onfocus="JavaScript:putfocus();">
>          &nbsp;&nbsp;&nbsp;&nbsp;Input box:<input type="text" 
> name="w_text3" value="">
> 
>       </form>
>    </body>
> </html>
> 
> 
> It is not a solution to put "disabled" in the the second box, because I 
> need to redirect the focus to a different box.
> Could someone help me ?


Don't you need to be asking in a Javascript newsgroup?
-- 
Bill
<August 9th is mid summer>


Reply via email to