how to set focus to textare in js code example Example: js focus textarea document.getElementById(IdOfTextArea).focus();