I'm trying to construct the following div
element using jQuery:
<div>
<p>Hello</p>
<p>Stack Overflow</p>
</div>
I added the first paragraph like this:
$('<div/>', {html: $('<p/>', {text: "Hello"})})
but I don't know how could I add the second paragraph.
Please help.