.focus()

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

A function to invoke after the element has been focused.

doc_jQuery
2016-03-28 14:47:52
Comments
Leave a Comment

Please login to continue.