Can't get a div with specific class
<p>I have a set of elements, each of which looks like this:</p>

<pre><code>&lt;div class="maindiv"&gt;
  &lt;div id="55"&gt;
    &lt;a class="aimg" onclick="showit(this);return false;"&gt;
      &lt;img src="myjpg.jpg"/&gt;
    &lt;/a&gt;
    &lt;div class="someclass"&gt;&lt;/div&gt;
    &lt;div class="getit"&gt;&lt;/div&gt;
  &lt;/div&gt;
 &lt;/div&gt;
</code></pre>

<p>class "getit" has display set to "none". I need the "onclick=show" function to put the display of that "getit" classed div to "block".</p>

<p>I've tried the following inside the "showit()" function:</p>

<pre><code>$(this).parent().find('.getit:first').css('display', 'block');
</code></pre>

<p>but it doesnt work...</p>

<p>I hope someone here can help me!</p>
