I’m using the Sortable component of jQuery UI. The callbacks don’t seem to work at all, even with this minimalistic test:
<script type='text/javascript' src='jquery-1.3.js'></script> <script type='text/javascript' src='jquery-ui-personalized-1.6rc4.js'></script> <script type='text/javascript'> $(document).ready(function () { $('#outer').sortable({ start: function (e, ui) { alert('started'); }, update: function (e, ui) { alert('updated'); } }); }); </script> <ul id='outer'> <li>apple</li> <li>orange</li> </ul>
I get none of the alerts when I reorder these elements.
Is my usage correct or am I perhaps misreading the documentation?
start Function(Event, ui)
Function that gets called when sorting starts.
It seems that the .sortable() is having some technical difficulties according to this post. You may need to use SVN to download the latest trunk release to fix it.