I have a following field,
<input name="dados[<?= $i ?>][quantidade]" class="quantidade" type="text" value="<?= isset($dados['quantidade']) ? $dados['quantidade'] : '' ?>" id="quantidade"/>
And I have a modal that when I choose a new food, it adds another field like the one above, I have to get these values with jQuery and perform a sum, how and what do I do to get all these fields?