how to remove elements greater or equal to a particular number using jquery?
<p>how to remove elements greater or equal to a particular number using jquery?</p>

<pre><code>&lt;div id="1" class="testList"&gt;&lt;p&gt;anything&lt;/p&gt;&lt;/div&gt;
&lt;div id="2" class="testList"&gt;&lt;p&gt;anything&lt;/p&gt;&lt;/div&gt;
&lt;div id="3" class="testList"&gt;&lt;p&gt;anything&lt;/p&gt;&lt;/div&gt;
&lt;div id="4" class="testList"&gt;&lt;p&gt;anything&lt;/p&gt;&lt;/div&gt;
&lt;div id="5" class="testList"&gt;&lt;p&gt;anything&lt;/p&gt;&lt;/div&gt;
&lt;div id="6" class="testList"&gt;&lt;p&gt;anything&lt;/p&gt;&lt;/div&gt;
&lt;div id="7" class="testList"&gt;&lt;p&gt;anything&lt;/p&gt;&lt;/div&gt;
&lt;div id="8" class="testList"&gt;&lt;p&gt;anything&lt;/p&gt;&lt;/div&gt;
&lt;div id="9" class="testList"&gt;&lt;p&gt;anything&lt;/p&gt;&lt;/div&gt;
</code></pre>

<p>Example, I need to remove all div element's greater than and equal to id 5... My attempt is using a variable called clear</p>

<pre><code>$(".testList:gt('"+clear+"') p").remove();
</code></pre>

<p>How do I use greater than or equal to in jquery?</p>
