How do I get the ID and the class of a div added to the DOM with .find()
<p>The following works when I try to find a class that's been added to the DOM</p>

<pre><code>$('#myDIV').find('div[class="myClass"]').click(function(){
   $('.myClass').removeClass('active');
   $(this).addClass('active');
});
</code></pre>

<p>How would I accomplish the same thing but with the ID of the div as well as the class?</p>
