Chris Jones wrote:
<script>
$(document).ready(function(){
    $("#list").sortable({
        accept: 'item',
        update: function(sorted) {
            serial = $('#list').sortable('serialize');
            $.ajax({
                url:"updatesql.php",
                type:"POST",
                data: serial.hash,
                error:function(){alert('Failed');},
                success:function(){alert('Success');}
            });
        }
    });
});
</script>

Have you tried doing an alert on serial.hash?

I don't know that property. The sortable('serialize') function returns a String that should be all set for being part of a URL, so you might just try

                data: serial,

Where is that hash property defined?

  -- Scott

Reply via email to