Select first element that doesn't have a specific class
<p>I want to write a selector that targets the first element that doesn't have a specific class.</p>

<pre><code>&lt;ul&gt;
&lt;li class="someClass"&gt;item 1&lt;/li&gt;
&lt;li&gt;item 2&lt;/li&gt; &lt;-- I want to select this
&lt;li class="someClass"&gt;item 3&lt;/li&gt;
&lt;li&gt;item 4&lt;/li&gt;
&lt;/ul&gt;
</code></pre>

<p>I know how to select all elements that doesn't have "someClass":</p>

<pre><code>$('li not:(.someClass)').dostuff();
</code></pre>

<p>But I don't know how to only select the first element that doesn't have "someClass".</p>

<p>Anyone knows how to do this?</p>
