title: Get value from fields with same class, add to array
body: <p>So I have a dynamic list of textboxes that have all the same class, like so:</p>
  
  <pre><code>&lt;input type="text" id="value1" class="list-value" /&gt;
  &lt;input type="text" id="value2" class="list-value" /&gt;
  &lt;input type="text" id="value3" class="list-value" /&gt;
  &lt;input type="text" id="value4" class="list-value" /&gt;
  </code></pre>
  
  <p>So when a link is clicked, I need the values from all those textboxes to be loaded into an array:</p>
  
  <pre><code>$('a#link').click(function() {
      //add to array here
  });
  </code></pre>
  
  <p>How can I do that?</p>