Form JavaScript Tutorial

The select() method selects the text in the text box.