onSelect Event Handler
Select the text from the text box: