title: How to select both text from same class?
body: <p>I'm using JQuery and I wanna show html from same divs. Example:</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;div class="content" contenteditable&gt;&lt;/div&gt;
  &lt;div class="content" contenteditable&gt;&lt;/div&gt;
  &lt;div id="result"&gt;&lt;/div&gt;
  </code></pre>
  
  <pre class="lang-js prettyprint-override"><code>$('.content').keyup(function() {
    $('#result').html($('.content').html());
  });
  </code></pre>
  
  <p>In this code I take only first div's text, if I use <code>$(this)</code> instead of <code>$('.content')</code>, I take last div's text. So I can't solve this problem. Thanks</p>