Asynchronously set focus to an element.
This plugin extends jQuery's built-in .focus()
method. If jQuery UI is not loaded, calling the .focus()
method may not fail directly, as the method still exists. However, the expected behavior will not occur.
This method is deprecated. Use .focus()
without arguments inside a timeout or $.Widget's ._delay()
method.
version deprecated: 1.11
delay
The number of milliseconds to wait before setting focus.
callback
Function()
A function to invoke after the element has been focused.
Please login to continue.