t should work just fine
var_dump($_POST);
I gets :
string(84)
"page_list[]=4&page_list[]=51&page_list[]=3&page_list[]=6&page_list[]=2&page_list[]=8"
:-D
--
View this message in context:
http://www.nabble.com/Problem-on-serializing-Ajax-data-with-Cake-tp16748571p
I have the answer of my question thanks to :
http://www.zenofshen.com/2008/01/08/scriptaculous-ajax-sortable-lists-tutorial/
The id of the elements have to be in the form /string_identifier/, where
/identifier/ is a unique number, for Sortable.serialize to work.
By calling the id of my list like
Hi,
I am using the $ajax->sortable function to change the order of a list (3
items).
Then I want to save the order in a database but I have a problem.
When I use Sortable.serialize to send the data to my controller, my
array is empty...
Here is the code I use in my view :
sortable("sort