Api Focus
# jQuery UI API - .focus()
## Category
(#) | (#) | (#)
## Usage
**Description:** Asynchronously focuses an element.
**Returns:** (http://api.jquery.com/Types/#jQuery)
.focus( delay [, callback ] )Returns: jQuery
| Parameter | Type | Description |
| --- | --- | --- |
| delay | Integer | The number of milliseconds to wait before focusing. |
| callback | Function() | The function to call after the element is focused. |
This plugin extends jQuery's built-in [.focus()](#) method. If jQuery UI is not loaded, calling the `.focus()` method will not fail directly because the method exists in jQuery. However, the expected behavior will not occur.
YouTip