element height after content change
- by Neph
I have a snippet of code that alters the contents of a DIV to match the contents of a textarea and then applies the height change in the DIV to the textarea element.
function growTextArea(parameter) {
$('div').find("[data-fieldid='1_description']").text($(parameter).val());
// No Works
height =…