jQuery - select attribute value of image with parent of specific class only

Asneds

New Member
I have a list like so:\[code\]<ul> <li><div class="thumb"><img src="http://stackoverflow.com/questions/14532255/image-1.jpg"></div></li> <li><div class="thumb"><img src="http://stackoverflow.com/questions/14532255/image-2.jpg"></div></li> <li><div class="thumb selected"><img src="http://stackoverflow.com/questions/14532255/image-3.jpg"></div></li></ul>\[/code\]How do I select the src attribute of the img that has the div parent with class= "selected"?
 
Back
Top