<div id="YA"> <img/> <span>...</span> </div>
$("#YA").click(function(){ var div = $(this).html(); });