Focus Textbox After Ajax Call Completes

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • eswarro
    New Member
    • Nov 2008
    • 1

    Focus Textbox After Ajax Call Completes

    hai..this is eswar

    i have form with to text fields user name and password.
    i have to put validations to those fields and check user name is already exist or not for this check availability user name i use ajax it was giving correct response no problem in that but it will not focus to user name text box area..how can i focus back to text area..
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    apply the focus() function (javascript) to your text box when finishing your ajax call.

    regards

    Comment

    Working...