Get parent ID from div jquery
<p>I have a image inside a div when i click on the image i want it to alert me of the parent id that will be "group1"</p>

<pre><code>&lt;div id="group1"&gt;
&lt;img class="header_logo_dis" src="test.png"&gt;
&lt;/div&gt;

$('.header_logo_dis').click(function() {
    alert($(this).parent("div:first"));
});
</code></pre>

<p>Thank you,</p>
