SyntaxFix
Write A Post
Hire A Developer
Questions
$('textarea').val();
textarea.value would be pure JavaScript, but here you're trying to use JavaScript as a not-valid jQuery method (.value).
textarea.value
.value