src code

instance method Form.Element#activate

Form.Element#activate(element) → Element

Gives focus to a form control and selects its contents if it is a text input.