JSFiddle - React, Tailwind, and code Playground
by taoist
HTML
<button id='button'>save</button>
<input id="pitchInput_1" type='range'></input>
<input id="pitchInput_2" type='range'></input>
JavaScript
$('#button').click(function(){
$('input[id^="pitchInput_"]').map(function() {
alert( $(this).val());
});
});