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