I am trying to send the data in a numbered array but i end up with
set[]=56454&set[]=54546522
 
when i need set[0]=56454&set[1]=54546522
 
$(document).ready(function() {
 $("#sortable").sortable({
         
  placeholder: 'ui-state-highlight',
  update: function() {$.post('/order/.php',{data:
$("#sortable").sortable('toArray')});}
 });
 
 $("#sortable").disableSelection();
 
});
 
Can someone seewhere I am going wrong here?
 
Thanks
 
Dave

Reply via email to