title: Echoing Jquery "contains" statement doesn't work
body: <p>I have php file where I echo JQuery code where I check if checkboxes are checked and than do stuff if they are. But if I use <code>contains()</code> code does nothing.</p>
  
  <p>This code works:</p>
  
  <pre><code>"&lt;script type='text/javascript'&gt; 
    $(document).ready(function(){
  
      $('#filterbutton').click(function() {
        if($('#znackaasus').is(':checked')) {
          console.log('checked');
        }
      });
    }); 
  &lt;/script&gt;"
  </code></pre>
  
  <p>But this code breaks whole jQuery and does nothing:</p>
  
  <pre><code>"&lt;script type='text/javascript'&gt; 
    $(document).ready(function(){
  
      $('#filterbutton').click(function() {
        if($('#znackaasus').is(':checked')) {
          $('.tovar:contains('ASUS')').hide();
        }
      });
    }); 
  &lt;/script&gt;"
  </code></pre>