<div class="box">
<h1>Left List</h1>
<ul id="left-list">
<li>Test</li>
<li>Test</li>
<li>Test</li>
</ul>
</div>
<div class="box">
<h1>Right List</h1>
<ul id="right-list">
<li>TEST</li>
<li></li>
<li></li>
</ul>
</div>
$('#left-list li').on('click', function () {
$(this)
.appendTo($('#right-list'))
.unbind('click');
})
$('#right-list li').on('click', function () {
$(this)
.appendTo($('#left-list'))
.unbind('click');
})
It just stays on one side after moving once x: what can i do? to fix this? i want to move from left to right, and those which got moved to the right side, back to the left side