how to get text in textarea javascript code example Example: javascript find textarea if(document.getElementsByTagName('textarea').length > 0) { }