title: How to use jQuery find() function with CasperJS?
body: <p>I want to do something similar to <a href="https://github.com/jnicklas/capybara" rel="nofollow">Cabybara</a> within function in CasperJS. I want to get parent divs and retrieve text from their child elements.</p>
  
  <p>Something like this:</p>
  
  <pre><code>$('div.education').find('h4').text()
  $('div.education').find('h1').text()
  </code></pre>
  
  <p>Code snippet is as follows:</p>
  
  <pre><code>casper.page.injectJs('/jquery-latest.min.js');
  var links = casper.evaluate(function() {
      var elements = $('div.education');
      return elements.map(function(e){
             this.fetchText(casper.evaluate(function(){
                  return e.find('h4.summary');
             }));
             this.fetchText(casper.evaluate(function(){
                  return e.find('h1');
             }));
      });
  });
  casper.echo(links);
  </code></pre>
  
  <p>Currently its returning <code>null</code>. How to achieve this in CasperJS?</p>