.focus( delay [, callback ] )Returns: jQuery

Description: 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.