Focus on a Textbox

Results 1 to 2 of 2

Thread: Focus on a Textbox

  1. #1
    MaxMoon Guest

    Default Focus on a Textbox

    Hi, <BR><BR> I have two textboxes in my page. The size of the first one is 3. Here is what I need to do:<BR><BR>When the user hits the third character in that textbox, the focus need to jump automatically in the second textbox, without any TAB or mouse click. <BR><BR>Thanks for your help<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Focus on a Textbox

    You could use the onkeypress or onkeydown events to count<BR>the number of characters. The focus method to set the focus<BR>in the text box.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts