title: Simple jquery find and show based on string search - cannot make it work
body: <p>Jquery:</p>
  
  <pre><code>  //Jquery-JS search for actors and directors
    //Hide extra Actors
    $(".actor ul li").not($(".actor ul li").slice(0,11)).hide();
    //
    function find_and_unhide (keyword,container) {
      $(container+':contains("'+keyword+'")').show();
    }
    find_and_unhide("fra",".actor ul li");
  </code></pre>
  
  <p>Html:</p>
  
  <pre><code>&lt;div class="option-combo actor"&gt;
  &lt;h4&gt;Actor →&lt;/h4&gt;
  &lt;ul class="filter option-set" data-filter-group="actor"&gt;
  &lt;li&gt;&lt;a href="#filter-actor-any" data-filter-value="" class="selected"&gt;Any&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="#filter-actor-sandro" data-filter-value="sandro"&gt;Sandro&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="#filter-actor-barbara" data-filter-value="barbara"&gt;Barbara&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="#filter-actor-ku" data-filter-value="ku"&gt;Ku&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="#filter-actor-cool" data-filter-value="cool"&gt;Cool&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="#filter-actor-aid" data-filter-value="aid"&gt;Aid&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="#filter-actor-leo" data-filter-value="leo"&gt;Leo&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="#filter-actor-john" data-filter-value="john"&gt;John&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="#filter-actor-kvara" data-filter-value="kvara"&gt;Kvara&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="#filter-actor-kuku" data-filter-value="kuku"&gt;Kuku&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="#filter-actor-bubu" data-filter-value="bubu"&gt;Bubu&lt;/a&gt;&lt;/li&gt;
  &lt;li style="display: none;"&gt;&lt;a href="#filter-actor-fra" data-filter-value="fra"&gt;Fra&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
  &lt;/div&gt;
  </code></pre>
  
  <ol>
  <li>Find and Unhide function doesn't work.</li>
  <li>I'm also wondering if I should use data-filter-value instead of contains to select correct li. But which one will be faster?</li>
  <li>Also How do i implement fuzzy matching?</li>
  </ol>