0
The close button works perfectly while the send button does not trigger the routine in any way.
$("#incluirItensNoGrid").on('click', function(){
alert("Hello World!");
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<div class="modal-footer d-flex justify-content-center">
<button
class="btn btn-success"
id="incluirItensNoGrid()">Enviar
</button>
<button
class="btn btn-danger"
class="close"
data-dismiss="modal"
aria-label="Close">Cancelar
</button>
</div>
Or change the dial to
$("#incluirItensNoGrid()")
, but the first option is better– Costamilam
Yes. I’ve done it and it worked! Thank you, buddy!
– Emilio Dami Silva
I made the first that arrow the id name correctly. Again, thank you very much Mirak!
– Emilio Dami Silva
Right?! Then mark as resolved... : P
– Milrak Pereira Pessoa
Yes, I marked as resolved! Congratulations and thanks for the help!
– Emilio Dami Silva