focus
focus();
- this function is used to set the input focus.
After testing, the function returns the result of its work to the script :
true
– found and set the focus.
false
– couldn't find it.