I have a problem with my problem with my append
no js
I needed to replace one image with another when I click on a div
ai when I click the image set via ID some normal but what should appear in the place does not appear I needed it to appear in the same place as the hidden image that follows my code:
$('#lp-pom-image-1674').on('click', function(e) {
$('#lp-pom-image-186').fadeOut('fast', function(){
$('#lp-pom-image-186').append('<img src="http://d9hhrg4mnvzow.cloudfront.net/unbouncepages.com/home-teste/f6ffe5b8-logo-www-outubro.png" class="logo-center-outubro">');
});
});
Notice that code name in the click event of the id #lp-pom-image-1674
the image with the id #lp-pom-image-186
has to disappear and it disappears normally and in that same id it append
where it would have to put my image that is inside the img
more simply does not appear it needs to be done that way can anyone help me?