Calling HTMLTextAreaElement.select should select the text area.