title: jQuery - contains() - search only full match variables
body: <p>Can I get using jQuery contains() only variables which is 100% matchable?
  For example, I have something like that:</p>
  
  <pre><code>&lt;div&gt;Test&lt;/div&gt;
  &lt;div&gt;Tester&lt;/div&gt;
  </code></pre>
  
  <p>and when I use:</p>
  
  <pre><code> $('div:contains("Test")').length
  </code></pre>
  
  <p>I get two results, but I want get only result which is full matchable for string which I use inside contains() function. Is there any function similar to contains() but which get only full matchable results?</p>
  
  <p>I know, I can do it in that way:</p>
  
  <pre><code>for(i = 0; i &lt; obj.length; i++)
  {
      if ( obj[i].innerText == 'Test' )
      {
          alert('Thats it! obj[i]');
      }
  }
  </code></pre>
  
  <p>But problem is when I want to check if that searched div is visible. When I use:</p>
  
  <pre><code>obj[1].is(':visible');
  </code></pre>
  
  <p>I got:</p>
  
  <p><code>TypeError: $(...)[1].is is not a function</code></p>
  
  <p>But when I use:</p>
  
  <pre><code> obj.is(':visible')
  </code></pre>
  
  <p>I got:</p>
  
  <pre><code>true
  </code></pre>
  
  <p>That's problem for me, because I need to check only div which contains: "Test" only.</p>
  
  <p>Is it possible to search only full matchable results?</p>
  
  <p>Thanks.</p>