//Porem sem usar function e pegando mais de um TEXTAREA
function autoResize()
{
objTextArea = document.getElementById('txtTextArea');
while (objTextArea.scrollHeight > objTextArea.offsetHeight)
{
objTextArea.rows += 1;
}
}
<textarea id="txtTextArea" onkeydown="autoResize()"></textarea>
function
? explique isso – Rafael Augusto 21/11/17 às 18:03function
? – Rafael Augusto 21/11/17 às 18:07function
não terá problema algum – Rafael Augusto 21/11/17 às 18:10