Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

There is no method to retrieve the content within a text area that is not displayed in HTML because if the content is not displayed, it cannot be accessed or retrieved. However, if the content is present but simply hidden from the user through the use of CSS, it is possible to retrieve the content using JavaScript by accessing the value property of the text area element.