title: How to add all input values using jquery
body: <p>I have the dynamically generated input values in my project. I need to get all the values which has similar id's like "<code>test_1</code>". </p>
  
  <pre><code>&lt;input type="hidden" id="test_1" value="1"&gt;
  ....
  &lt;input type="hidden" id="test_10" value="10"&gt;
  </code></pre>
  
  <p>So here i can use <code>$("input[id^='test_']")</code> to find all input values. IS there any logic to ADD all input values which has id "test_" ?</p>