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