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