1
I got some Ivs:
<div class="filter__filters tamanho"></div>
<div class="filter__filters preco"></div>
<div class="filter__filters cor"></div>
I’m trying to catch which one was clicked, like this:
$j('.filters__filter').click(function(){
$j(this).click();
});
Only it keeps giving size error: Maximum call stack size exceeded
I wanted every time I clicked on one of these Divs, I would pick which one was clicked on. How do I do this correctly? Or rather, why are you making this mistake?
$('.filters__filter'). click(Function(){ Alert($(this).html(); });
– Helder Pereira