0
I need to get an image by json
to appear in my modal but the modal appears but the image does not
here is my code
$("#estoque1").click(function(){
$('#estoqueModal').modal('show');
$(".modal-body").innerHTML += '<img src="' + dadosJSON.estoque.imgModal + '">';
});
Where is the ajax request code? Where is the ajax request coming from?
– Rodrigo Jarouche
I’m not using ajax, I’m doing straight from js
– Victor Rodrigues