Adding Filters to List
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/3838845/jquery-remove-duplicate-li">jquery remove duplicate li</a>  </p>
</blockquote>



<p>I have a List which looks like the following: <a href="http://jsfiddle.net/UwPTF/" rel="nofollow">http://jsfiddle.net/UwPTF/</a></p>

<pre><code>&lt;ul class="uol"&gt;
      &lt;li&gt;beta&lt;/li&gt;
      &lt;li&gt;gamma&lt;/li&gt;
      &lt;li&gt;alpha&lt;/li&gt;
    &lt;li&gt;beta&lt;/li&gt;
    &lt;li&gt;zeta&lt;/li&gt;
    &lt;li&gt;BETA&lt;/li&gt;            
&lt;/ul&gt;
</code></pre>

<p>I have 2 buttons, one to highlight the items that are duplicate and the other to remove the duplicate items. </p>

<p>I am trying to use the filter function. If you can explain your code, it's highly appreciated.</p>
