When I try running this code, it says: index.html?descricao=:14 Uncaught TypeError: Cannot set property 'value' of null at index.html?descricao=:14
java code: var inputValue = document.getElementById("reply").value;
html: <textarea id="reply" name="reply" onKeyPress="enterpressalert(event, this)"></textarea>