2
I have the following code html
:
When he clicks delete on div excluir-produto-carrinho
he must get the id of the data-id-previous cart. How do I do that?
I already tried on the delete button which is the div excluir-produto-carrinho
thus:
var idStorage = $(this).data('id-prod-carrinho');
and comes to nothing. Like he brings nothing.
Okay it worked. Thank you very much
– Felipe Michael da Fonseca