title: How to put all elements' content in array using jQuery ?
body: <pre><code>&lt;div id="main"&gt;
  &lt;p&gt;Text1&lt;/p&gt;
  &lt;p&gt;Text2&lt;/p&gt;
  &lt;p&gt;Text3&lt;/p&gt;
  &lt;/di&gt;
  </code></pre>
  
  <p>Result should be :</p>
  
  <pre><code>["text1","text2","text3"]
  </code></pre>