2
I have a modal call details, I have the following data on it:
<input type="text" class="form-control" id="id" name="id" required>
<input type="text" class="form-control" id="nome" name="nome" required>
That were filled in like this:
modal.find('.modal-body input[name="id"]').val(id)
modal.find('.modal-body input[name="nome"]').val(nome)
When I call the second modal alert by the button:
<button type="submit" data-toggle="modal" data-target="#alterar">Salvar</button>
How to pass input data (id and name) of modal details for the modal alert?
You’re the Fastest men Alive.
– Bia