What is the correct code to store the text that extracted from each function into variable?
<p>I know this is not a right code, howvwer i wanna ask how can I achieve the idea behind using the right coding?</p>

<p>I intend to store into variable all the text inside each list item</p>

<pre><code>var date = $('.selector1 ul li')each().text()
var time = $('.selector2 ul li')each().text()

$(selector3).html("&lt;td&gt;date&lt;/td&gt;&lt;td&gt;time&lt;/td&gt;");
</code></pre>

<p>Yes im trying to transform it into table</p>
