src code
Form.Element#activate(element) → Element
Gives focus to a form control and selects its contents if it is a text input.