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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---