The focus function is established to set an element focused at the web. It can be called as far as once.
var result = new Result();
result.focus("#text1");
Calling | Returning |
---|---|
Result . focus ( selector ) | Result |
Parameters | Type | Description |
---|---|---|
selector | String | A jQuery selector key to mark the element which will be focused. |