title: JQuery search function, why my dives doesnt hide?
body: <p>Het guys,
  im begginer using JQuery and the stuff is i have some displayed elements in divs.
  this is the we site source:</p>
  
  <pre><code>&lt;div id="application-list" class="row boxes"&gt;
      &lt;h1&gt;nowa3&lt;/h1&gt;
      &lt;div class="box col-md-4" id="Acrobat Reader 10"&gt;
          &lt;div class="thumbnail"&gt;
              &lt;div class="caption"&gt;
                  &lt;h3&gt;&lt;img class="icon" src="/Acrobat%20Reader%2010.png" alt="Acrobat Reader 10" /&gt; Acrobat Reader 10&lt;/h3&gt;
                  &lt;div class="row"&gt;
                      &lt;div class="pull-right"&gt; &lt;a data-toggle="modal-loading" data-target="#application-launching-modal" target="application-launcher" href="/Acrobat%20Reader%2010.ica" class="btn btn-sm btn-primary"&gt;Run&lt;/a&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>and i want to do search function. i did put input fild and submit button and i setup code like this:</p>
  
  <pre><code>$(document).ready(function() {
      $('#button').click(function () {
          var value = $('#appName').val();
          $('.col-md-4').each(function() {
              if ($(this).contains($(this), value)) {
                  $(this).show();
              }
              else $(this).hide();
          });   
      });     
  });
  </code></pre>
  
  <p>where <code>#button</code> its the id of subbmit button, <code>#appName</code> is the id of input field and <code>.col-md-4</code> is the class of divs i want to hide show when searching ?
  It doesnt work when i want alert <code>$(this).id</code> it show nothing button click alert the value entered. whats wrong ?</p>
  
  <pre><code>&lt;input type="text" id="appName"&gt;&lt;button type="submit" id="button"&gt;Find&lt;/button&gt;
  </code></pre>
  
  <p>its before:
  <code>&lt;div id="application-list" class="row boxes"&gt;</code></p>