focus on a textare javascript code example Example: js focus textarea document.getElementById(IdOfTextArea).focus();