When trying to show a div:
<div class="modalHome">
HOLA MUNDO
</div>'
$(".modificar-foto-perfil").on("click", function() {
$('.modalHome').show();
});
<i id="modificar-foto-perfil" class="fa fa-pencil fa-sm" aria-hidden="true" title="Modificar imagen"></i>
.modalHome {
position: absolute;
display: none;
}
It does not show the div, I do not know if it has something to do with the label