Get all the texts from multiple textarea
I have 3 textareas on my page and there could be more than 3 textareas in
the future. I want to get all the text from these textarea fields. If I do
$('textarea').val(); in chrome console, it only returns the first
textarea's text. I want the result of all the text in an array.
No comments:
Post a Comment