Test Case Boilerplate

Fork this way...

HTML

<script src="http://code.jquery.com/ui/jquery-ui-git.js"></script>
<link rel="stylesheet" href="http://code.jquery.com/ui/jquery-ui-git.css">

    Move 0 above 1, then try to uncheck the checkbox.  Have to click it twice to uncheck it.<br /><br />
    <ul id="sortable">
        <li>1<input type="checkbox"/></li>
        <li>0</li>
    </ul>

CSS

#sortable{width:250px;padding:2px;border:1px solid;}#sortable>li{list-style:none;border:1px solid;margin:2px;}

JavaScript

$('#sortable').sortable({ containment: 'parent' });