title: Cheerio error, undefined not a function // Is this the correct way?
body: <p>When trying to run code, i keep getting the error <code>$.find('.market_listing_item_name_block').each()</code> - undefined is not a function, pointing at find. I thought that find was a function in cheerio? To be fair, i'm not sure if i'm even doing this right, here is my code :</p>
  
  <pre><code>var cheerio = require('cheerio')
  $ = cheerio.load('#searchResultsRows')
  var url = 'http://steamcommunity.com/market/search?appid=730'
  xhr.get(url).success(function(r){
      $.find(".market_listing_item_name_block").each(function(){
          var name = $(this).find(".market_listing_item_name").text();
          console.log(name)
      })
  })
  </code></pre>
  
  <p>xhr is an object that essentially acts like AJAX.</p>
  
  <p>the way i was doing it before in chrome, was:</p>
  
  <pre><code>var url = 'http://steamcommunity.com/market/search?appid=730'
  var itemDiv = $("&lt;div&gt;&lt;/div&gt;")
  $.get(url).success(function(r){
      d = $(r).find('#searchResultsRows')
      itemDiv.append(d)
  })
  </code></pre>
  
  <p>and then:</p>
  
  <pre><code>itemDiv.find(".market_listing_item_name_block").each(function(){
     var name = $(this).find(".market_listing_item_name").text();
     console.log(name) // would normally do other things, but for the purpose of this post, i'm just console logging the name
  })
  </code></pre>
  
  <p>how exactly would I be able to re-create that ^ in node/cheerio? I believe i'm missing a few steps obviously. any help is extremely appreciated, thanks.</p>