javascript dom textarea code example Example: javascript find textarea Click to copyif(document.getElementsByTagName('textarea').length > 0) { }