I'm trying to get the textContent from the combo at the time it is clicked on the Save button, so it will mount a table with the values typed in the input text and the selected combo. Html example:
<div class="modal-content" id="cadastro-tarefa">
<label class="" for="orderBy">Nome</label>
<input class="form-control" type="text" placeholder="">
<div class="form-group">
<label class="" for="orderBy">Tipo</label>
<select class="form-control cb" id="cb" name="meucombo">
<option value="" disabled selected>Selecione</option>
<option value="1">Pergunta e Resposta</option>
<option value="2">Multipla Escolha</option>
<option value="3">Grade de Multipla Escolha</option>
</select>
</div>
</div>