title: Search text in different static html, stored in a variable using jQuery
body: <p>I have fetched the html contents of multiple static pages using the following code, where <strong>html_files</strong> is an array of name of html files and <strong>post_html</strong> is a single file:</p>
  
  <pre><code>jQuery.each(html_files, function(index,post_html){
      jQuery.ajax({
          type:'GET',
          url:post_html, //or the url to fetch data
          datatype:'html',
          success:function(data){
              alert(data);
              // Search here.
           }
      });
  });
  </code></pre>
  
  <p>Now i want to search for a text, entered in a text box, in each of this files, in the <strong>data</strong> variable.</p>
  
  <p>How do i use contains() or content() to perform this. I want to perform the search in the client side only.</p>
  
  <p>Thanks in advance!</p>