-1
I want to get the $(figure img).attr('src'); current, but the editor is saying that this is wrong and will not work. how to make it work?
HTML CODE:
<figure class="effect-oscar  wowload fadeInUp" fotografo='Jessiane'>
        <img src="http://iphotochannel.com.br/wp-content/uploads/2015/09/15_1.jpg" class='caraDoFotografo' width="450" height="297" alt="img01"/>
        <figcaption>
            <h2>Jessiane</h2>
            <p>FotoGrafia É Vida <br>
            2 FOTOS<BR>
        <a href=''>Ver Fotos</a>          
        </figcaption>
    </figure>
I have this JS so he’s wrong there in $(this img):
$('figure').on('click',function() {
    ft = $(this).attr('fotografo');
link = $(this img).attr('src');
window.location.href='blend/portfolio.php?fotografo='+ft+'&link='+link;
});
						
Good afternoon Deny, the reply solved the problem? Need something else?
– Guilherme Nascimento