2
I have the following code:
<div class='premios text-center col-xs-12'>
<div class='div-img-premio'>
<img class='img-premio img-responsive' src='$imagem'>
</div>
<p class='nome-premio'>".$nome."</p>
<p class='preco-premio'>".$preco."</p>
<input class='idPremio' type='hidden' value='$id'>
</div>
I want to take the value of .idPremio
, when there is a click on . premios, but I have several awards . premios.
I can click on any div, but always comes the value of the first .idPremio.
Thank you.
what you’ve already tried?
– Lugarini