Set Focus to the Next Input Field with jQuery


/ Published in: jQuery
Save to your folder(s)

I was recently faced with the problem of setting focus to the next input field. The challenge was that I didn’t know what that field was. So given an input field, find the next logical (in the order of the DOM) input field and set focus. I came up with the following jQuery function (plugin) to accomplish this:

URL: http://jqueryminute.com/set-focus-to-the-next-input-field-with-jquery/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.