/

HTML / CSS / JavaScript Tutorial

JavaScript textarea object method: select()

[this page | pdf | back links]

The select() method of the JavaScript DOM object corresponding to the HTML <textarea> element selects the entire contents of the text area.

 

It has the following syntax with no parameters:

 

object.select()

 


NAVIGATION LINKS
Contents | Prev | Next | JavaScript DOM (and BOM)


Desktop view | Switch to Mobile