JavaScript and PHP


I am trying to pass an array created in JavaScript (actually by a Glow Sortable set of objects, more about glow sortable here:

In my context, link below, I have a sortable list which defines positions on the menu for the site, I know its producing the array, as I can output using various JS methods, put not pass through to a php page storing it in an SQL. I have tried using hidden fields, etc, but its just not playing ball… Any ideas?

Link: Then Click login, use Username kirupa and Password forum

My Example is on the Pages menu item.

Any help would be greatly appreciated!!!