setFocus
Sets the cursor focus to a specific control and optionally selects the existing text.
Parameters
controlId - the name of the control to set the focus to
select - (optional) if set to true, the existing text in the control is selected. if empty or false, the cursor is placed behind the not selected text
Example Usages