I am trying to define some basic HTML:
<ul id="menu" style="display:none">
<li><a class="actions" href="1">1</a></li>
<li><a class="actions" href="2">2</a></li>
<li><a class="actions" href="3">3</a></li>
</ul>
And append it dynamically using jquery like so:
$('#container').append($('#menu')).show()
However all that's returned is the physical Object:
<div id="container">[object Object]</div>
Can my menu div be appended in this fashion?
UPDATE: Revised where the show() is placed, but outcome remains the same