w2form.applyFocus

Sets focus to a field.
setFocus([focus])
focus string|number, id of the field or index of the filed
Returns JQuery object or undefined.

Description

This method will set the focus to a field determined by focus.
If the focus argument is not set, form.focus will be used.
If a field to focus is found, the JQuery object of the field will be returned. If no field is found, undefined is returned.

User Comments

comments powered by Disqus