src code
Form.Element.select(element) → Element
Selects the current text in a text input. Returns the element.