let opcoesTexto $("input[name='opcoesTexto[]']").each(function(){ opcoesTexto = $(this).val() }); console.log('Valores2: ', opcoesTexto)