Result.focus
The focus function sets focus to a specified element on the client-side. It can only be called once.
Sample
var result = new Result();
result.focus("#text1");
API
| Calling | Returning |
|---|---|
result. focus ( selector ) |
Result |
| Parameters | Type | Description |
|---|---|---|
selector |
String |
A jQuery selector identifying the element to receive focus. |