getting the focus of a cursor in a particular textbox after some action

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • savyatha
    New Member
    • Mar 2007
    • 9

    getting the focus of a cursor in a particular textbox after some action

    i have 4 textboxes.
    after i give some input in the first text box, i need the cursor focussed in the 3rd textbox automatically.
    plzzzzz any1 help me out how to do this.
    if possible, give the code for this
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    See this example.

    Comment

    • preetksaini
      New Member
      • Mar 2007
      • 19

      #3
      Originally posted by savyatha
      i have 4 textboxes.
      after i give some input in the first text box, i need the cursor focussed in the 3rd textbox automatically.
      plzzzzz any1 help me out how to do this.
      if possible, give the code for this
      it cannot be done automatically,b ut yes u can use tabindex property of <input> to set the tabindexes of textboxes or if maxlength is reached.
      u need some condition for cursor to move to 3rd textbox.

      Comment

      Working...