Reflects the name of the textarea (the name attribute). getElementByTagName (tagname); The method takes a string parameter as tagname. If your code is at code behind, best way is to assing string.Empty (or '' in case of javascript). With plain JavaScript, you can use either innerHTML, innerText or textContent to write text inside a textarea. JavaScript. Otherwise the thread feels a bit odd. This element includes the global attributes. Methods and Properties of the Textarea Object: 11. In older Internet Explorer versions, use the createRange method of the selection object to retrieve the selection within the document and use the createTextRange method to select a part of the text content within an element. Not empty TextArea: 10. How can I get query string values in JavaScript? The property defaultValue doesn't contain the initial value of the value attribute, but the initial value of the content of the