jQuery UI API - .focus()
Categories
Method Overrides | Methods | UI Core
Usage
Description: Asynchronously focuses on an element.
Returns: jQuery
Parameter | Type | Description |
---|---|---|
delay | Integer | The number of milliseconds to wait before focusing. |
callback | Function() | The function to call after the element has been focused. |
This plugin extends the jQuery built-in .focus() method. If jQuery UI is not loaded, calling .focus()
will not directly fail, as the method exists in jQuery. However, the expected behavior will not occur.