JSFiddle - React, Tailwind, and code Playground
HTML
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/formvalidation/0.6.1/css/formValidation.min.css">
<div class="pages alert alert-success">
<div class="questoes">
<label><input type="radio" name="rd1"> 1</label>
<label><input type="radio" name="rd1"> 2</label>
<label><input type="radio" name="rd1"> 3</label>
<label><input type="radio" name="rd1">4 </label>
</div>
<div class="questoes">
<label><input type="radio" name="rd2"> 1</label>
<label><input type="radio" name="rd2"> 2</label>
<label><input type="radio" name="rd2"> 3</label>
<label><input type="radio" name="rd2">4 </label>
</div>
</div>
<div class="pages alert alert-success" >
<div class="questoes">
<label><input type="radio" name="rd3"> 1</label>
<label><input type="radio" name="rd3"> 2</label>
<label><input type="radio" name="rd3"> 3</label>
<label><input type="radio" name="rd3">4 </label>
</div>
<div class="questoes">
<label><input type="checkbox" name="rd4[]"> 1</label>
<label><input type="checkbox" name="rd4[]"> 2</label>
<label><input type="checkbox" name="rd4[]"> 3</label>
<label><input type="checkbox" name="rd4[]">4 </label>
</div>
</div>
<button class="btn btn-primary" id="btn-proximo">Proximo</button>
JavaScript
$("#btn-proximo").on("click",function(){
var _arrInputs = [];
$(".questoes").find(":input").each(function(){
var thisName = $(this).attr("name");
if (_arrInputs.indexOf(thisName) === -1) {
_arrInputs.push(thisName);
}
});
for(var i =0; i<_arrInputs.length;i++){
alert(_arrInputs[i]);
}
});