title: Get text from multiple textareas with same ID to Array and convert to string in jQuery
body: <p>I am looking for a way to insert all the text from textareas to array and then convert it to string.
  I've tried this code:</p>
  <pre><code>(function () {
  var array = [];
  $('textarea').each(function () {
  array.push(this.value);
  });
  });
  string = array.toString()
  </code></pre>
  <p>but that returns <code>[object Window]</code>. Does anybody know how to fix this?</p>