Easy Tutorial
❮ Met Win Resizeto Met Cssstyle Removeproperty ❯

Textarea select() Method


Definition and Usage

The select() method is used to select the text within the element.

Syntax


Browser Support

All major browsers support the select() method.


Example

The following example selects the text within a text box:


❮ Met Win Resizeto Met Cssstyle Removeproperty ❯