Shouldn't that be `textareaElt.empty().val(data);` because you're not appending an element.