jquery correct code format
<p>im just curious about this proper code. im happy if some can correct this and explain a little about this.</p>

<pre><code>$('.parentmenu:nth-child(1)').addClass('on', function(){
    $(this+'ul').delay(500).slideDown();
});
</code></pre>

<p>I would like to use the same class element as for <strong>this</strong> referring and add <strong>UL</strong> element to trigger the navigation slide-down. I would like to know what is the correct format.</p>

<p>Or is there a way to shorten this code? Thanks in advance.</p>
