Jquery ui 1.7 - sortable and serialize
I have this code
<script>
$(function){
$("#sort").sortable({
change:vai()
});
function vai(){
alert ("ok");
}
</script>
....
<ul id="sort">
<li>uno</li>
<li>due</li>
<li>tre</li>
</ul>
My purpose is to get the order of my sortable list whe i sort the
list, but with this code the event is not hooked: only at the loading
of rthe page i get the alert box...
Thank you in advance