JSFiddle - React, Tailwind, and code Playground
by lalitjs
HTML
<div id='mydiv'>
<img src='http://cdn.theatlantic.com/static/mt/assets/science/Screen%20Shot%202012-08-29%20at%201.45.48%20PM.png' width='100' height='100' alt='3'>
<img src='http://wpandroid.files.wordpress.com/2012/08/wordpress-for-android-version-2-2-featured-image-stats.png' width='100' height='100' alt='4'>
</div>
CSS
#my_div {
width: 200px;
height: 200px;
background-color: red;
}
JavaScript
$(document).ready(function() {
$('#mydiv').click(function(){
alert($(this).find('img:last-child').attr('src'));
});
});