Welcome Guest, Not a member yet? Register   Sign In
Save Jquery sortable state to DB
#5

[eluser]Ludovic-r[/eluser]
Ok now I can't access to my $.post data from my Controller. I have this :

var order = $(this).sortable("serialize");
$.post("http://localhost:8888/codeigniter/index.php/admin/order", order);

And in my controller this :

function order()
{
$order = $this->input->post('list_item');

echo $order;
}

I echo it just to see if it works, I know it's not its place, but unfortunately it doesn't work Sad any ideas?


Messages In This Thread
Save Jquery sortable state to DB - by El Forum - 12-04-2010, 09:04 PM
Save Jquery sortable state to DB - by El Forum - 12-04-2010, 09:38 PM
Save Jquery sortable state to DB - by El Forum - 12-05-2010, 01:25 AM
Save Jquery sortable state to DB - by El Forum - 12-05-2010, 01:29 AM
Save Jquery sortable state to DB - by El Forum - 12-05-2010, 02:21 AM
Save Jquery sortable state to DB - by El Forum - 12-05-2010, 07:34 PM
Save Jquery sortable state to DB - by El Forum - 12-06-2010, 05:17 AM
Save Jquery sortable state to DB - by El Forum - 12-06-2010, 02:17 PM



Theme © iAndrew 2016 - Forum software by © MyBB