jquery: select elements except own children
<p>I need to select elements of a certain class except children of $(this). The trick is no elements have an id attribute and the classes of parent and children elements are the same, so</p>

<pre><code>&lt;div class="onedoc"&gt;1
    &lt;div class="onedoc"&gt;1.1
        &lt;div class="onedoc"&gt;1.1.1&lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="onedoc"&gt;1.2&lt;/div&gt;
&lt;/div&gt;
&lt;div class="onedoc"&gt;2&lt;/div&gt;
&lt;div class="onedoc"&gt;3&lt;/div&gt;
</code></pre>

<p>in this example, if $(this) is 1 (the first element), I need to select elements containing 1.1.1, 2 and 3</p>
