I have the dynamically generated input values in my project. I need to get all the values which has similar id's like "test_1".
<input type="hidden" id="test_1" value="1">
....
<input type="hidden" id="test_10" value="10">
So here i can use $("input[id^='test_']") to find all input values. IS there any logic to ADD all input values which has id "test_" ?