How to hide the outer parents in Jquery
<p>Below is my code, my goal is when the user click the <code>&lt;a&gt;</code> which is in 'child_2', I want to hide $(this) class="parent". How can I achieve this? </p>

<pre><code>&lt;div class="parent"&gt;
    &lt;div class="child_1"&gt;
    &lt;/div&gt;

    &lt;div class="child_2"&gt;
        &lt;div&gt;
            &lt;ul&gt;
                &lt;li&gt;&lt;a href="#"&gt;Click Me&lt;/a&gt;&lt;/li&gt;
                &lt;li&gt;&lt;/li&gt;
                &lt;li&gt;&lt;/li&gt;
                &lt;li&gt;&lt;/li&gt;
            &lt;/ul&gt;
        &lt;/div&gt;
    &lt;/div&gt;

    &lt;div class="child_3"&gt;
    &lt;/div&gt;

&lt;/div&gt;
</code></pre>
