title: remove case sensitivity from search jquery
body: <p>I want to remove case sensitivity from my search criteria. If I typed lower-case letter I want it to search through both lower-case and upper-case. </p>
  
  <p><a href="http://embed.plnkr.co/w0GaOnVrGArwB06sqpln/" rel="nofollow">My plunker</a></p>
  
  <pre><code>$('#search').click(function(){
      $('.contact-name').hide();
      var txt = $('#search-criteria').val();
      $('.contact-name:contains("' + txt + '")').show();
  });
  </code></pre>