Edit in JSFiddle
JavaScript
HTML
Result
$('<div>').append($('<ul>').append('<li>'))
<div></div>